Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.11 KB

DEPLOY.md

File metadata and controls

41 lines (35 loc) · 1.11 KB

Steps to deploy

Preparation

  1. 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 in go.mod. Increase version folder name in travis travis.yml before script.
  2. Go to the current major versions folder.
    cd v<major>
  3. Make sure the code is properly formatted.
    gofmt -s
  4. Run tests
    go test
  5. Increase the version in version.go
  6. Commit & Push

Publish

  • Via git tag

    1. Create a new version tag.

      git tag v1.6.4
    2. Push the tag.

      git push origin --tags
  • Via Github release

    Create a new Github release with a new version tag and release notes.

Validate new version on go.dev

https://pkg.go.dev/mod/github.com/configcat/go-sdk

Update import examples in local README.md

Update import examples in Dashboard

Update samples

Update and test sample apps with the new SDK version.