- If you want to increase the major version, create a new
v<major>
folder and copy all the sources from the previous major versions folder and start the work there. Increase major version ingo.mod
. Increase version folder name in travistravis.yml
before script
. - Go to the current major versions folder.
cd v<major>
- Make sure the code is properly formatted.
gofmt -s
- Run tests
go test
- Increase the version in
version.go
- Commit & Push
-
Via git tag
-
Create a new version tag.
git tag v1.6.4
-
Push the tag.
git push origin --tags
-
-
Via Github release
Create a new Github release with a new version tag and release notes.
https://pkg.go.dev/mod/github.com/configcat/go-sdk
Update and test sample apps with the new SDK version.