A default version is hard-coded. This is done for people that use the development toolchain to install the wallet (i.e. wails build
).
This requires additional steps during the release process.
- Set the
Version
variable to the desired version in theapp/app.go
file. - Set the
productVersion
properties to the desired version in thewails.json
,wails.mainnet.json
, andwails.fairground.json
,. - Set the
version
property to the desired version in thefrontend/package.json
. - Clean up the changelog:
- Remove the
Unreleased
prefix in the title - Remove empty sections
- Remove empty links
- Remove the
- Commit the change.
- Create a branch
release/vx.y.z
wherex.y.z
is the semantic version of the software. - Merge it in the
main
branch. - Tag the commit with the exact same name set on
defaultVersion
, and push it. - Wait for the release job to publish the released software.
- Once everything is published, merge the
main
branch to thedevelop
one. - Push a new commit to prepare the project for the next release:
- Set the version to the next development version. A development version is suffixed by
+dev
. - Add the
Unreleased
section to the changelog.
- Set the version to the next development version. A development version is suffixed by
For example, let's say we are releasing the version v0.9.0
:
- The
defaultVersion
should be set tov0.9.0
. - The tag should be
v0.9.0
. - The next development version should be
v0.10.0+dev
.
For pre-release, let's say we are pre-releasing the version v0.9.0-pre1
:
- The
defaultVersion
should be set tov0.9.0-pre1
. - The tag should be
v0.9.0-pre1
. - The next development version should be
v0.9.0-pre2+dev
.