RELEASING.md
October 16, 2023 ยท View on GitHub
How to Release the SDK
- Make sure that all changes for the release are merged with the
mainbranch. - From the root directory of the project in the
mainbranch, run the following commands.go install ./...go test ./...go vet ./...
- Run
go mod tidyto make sure it doesn't introduce new changes. If it brings new changes, check those in first before doing the release. - Click Releases in the about section to get the details on the version history.
- Decide what the version of the next release will be. We follow semantic versioning.
- Execute
git tag -a -m 'v0.10.3' 'v0.10.3'replacing v0.10.3 with the new version. - Push the tag up to Github
git push upstream v0.10.3. - Log into Github, click on Releases in the about section on the right, and click on Draft a new release.
- For version, choose the version you decided upon in step 5.
- Provide a short but descriptive title for the release.
- Fill in the details of the release. Please copy the markdown from the previous release and follow the same format.
- Click "Publish release."
- From your home directory run
./scripts/add-release-to-pkg-go-dev.shto notify pkg.go.dev of the new version.