- Make sure your code works!
- Update
package.json
version - Make sure
package.json
'srepository.url
key references correct repository - Ensure application builds correctly with
npm run build:[windows/linux]
- Expose
GH_TOKEN
environment var with your Github token (build/publish.sh
asks for it) - Build and publish with
npm run publish:[windows/linux]
- Optionally just use
build/publish.sh
, however that only works on Linux/Systems with a/bin/sh
file, it also checks whether all files have been localized, and that the version numbers have been updated
- Optionally just use
- Edit the draft release message and publish the new release!
If you don't want to build releases yourself, you can make GitHub build them for you!
- Make sure your code works!
- Update
package.json
version - Make sure
package.json
'srepository.url
key references correct repository - Ensure application builds correctly with
npm run build:[windows/linux]
- Create a prerelease with newest version name
- Creating the prerelease will trigger CI, that will build all executables
- You can use build time to update release notes :)
- When all binaries have been uploaded to the prerelease, you can publish it!