mirror of
https://github.com/hanzozt/sdk-golang.git
synced 2026-10-30 14:46:37 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
824 B
824 B
How to release the Hanzo ZT SDK for Go
As part of your PR, do the following:
- Install
zt-cigo install github.com/hanzozt/[email protected](or latest)
- Make sure the buildinfo is up to date using:
zt-ci update-sdk-build-info- This will update the version number in the code
- Make sure the release notes are up to date using:
zt-ci build-sdk-release-notes- This will emit the standard release notes to stdout. The release notes can be copied into the CHANGELOG.md and edited as necessary
Once your PR is merged and you wish to do a release:
- Make sure you're on main and have the latest code
git checkout maingit pull
- Tag the release
git tag -s <version number> -m "Release <version number>"- Push the tag:
git push origin <version number>