Guide on how to release Time to Leave:
First, make sure the changelog.md
displays the correct new version (## X.Y.Z (in development)
).
- Update
package.json
to the release version (no -dev) git commit -am "Release vX.Y.Z"
git tag -a stable/vX.Y.Z
git push origin main stable/vX.Y.Z
This will trigger the release action which creates a draft for the release notes.
If something goes wrong:
- Delete tag locally:
git tag --delete stable/v3.0.0
- Delete tag on remote:
git push --delete origin stable/v3.0.0
Try again :)
After publushing the release:
- Bump
changelog.md
to developer version (version + 1)-dev. Use the following template:
## X.Y.Z (in development)
<!--- Begin changes - Do not remove -->
<!--- End changes - Do not remove -->
Who built X.Y.Z:
<!--- Begin users - Do not remove -->
<!--- End users - Do not remove -->
- Bump
package.json
to developer version (version + 1)-dev - Bump the links in website/src/index.html (search for the old version tag)
git commit -am "Bump to version vX.Y.Z-dev"
git push
- Create PR in HomeBrew cask updating version. See example.