In order to release a new version, you need to:
Do that!
$ make bundle
This is likely to be updated to something less cumbersome
$ dune build
$ dune build --profile=release
$ rm bin/slipshow
$ echo "#\!/usr/bin/env node" > bin/slipshow
$ cat _build/default/compiler/src/bin/main_js.bc.js >> bin/slipshow
$ chmod a+x bin/slipshow
$ npm version patch # Or minor or major, let's dream!
$ npm publish # Publishing
$ git push
$ # and push tags!
Use dune-release
:
- Checkout the branch which has the tag
- Call
dune-release distrib
- Call
dune-release publish distrib
- Call
dune-release opam pkg
- Call
dune-release opam submit
- Verify that everything is right by comparing the
opam
file for the previous version, with this one!
dune install
the last release of slipshow.
Update the version on gui/slipshow-gui/src-tauri/tauri.conf.json
(and maybe gui/slipshow-gui/package.json
)
sliphub$ dune build
sliphub$ cd gui/slipshow-gui
sliphub$ npm run tauri dev # To test
Git commit and push. This will create a draft release. Finish it and undraft it.
Publish on vscode official repo
slipshow-vscode$ dune build
slipshow-vscode$ vsce package
slipshow-vscode$ vsce publish patch # (or minor, major)
Publish on open-vsx: connect to open-vsx, login and manually publish the new vsix.