Release-Process.md
March 6, 2021 ยท View on GitHub
kitura-cli Release Process
The following instructions are for releasing a new version of kitura-cli:
- Tag the release using the format
0.0.17, which will trigger a build.- Travis will then execute
build.sh <TAG>, building and packaging the binary. - Travis will attach the
kitura-cli_0.0.17_amd64.deb,kitura-cli_0.0.17_darwin.tar.gz,install.shandkitura.rbfiles to the release.
- Travis will then execute
Updating homebrew
- Clone https://github.com/Kitura/homebrew-kitura and create a new branch.
- Replace the
kitura.rbfile with the one that is attached to the release. - Push your changes, then raise and merge the PR.
- Update your version of the cli by running
brew upgrade kituraand do a final check to make sure your updates are running as expected.
Updating release secrets
Travis documentation here is a bit sketchy. Follow these steps:
- Generate a Github personal access token with the following scope:
read:org,public_repo,repo:status,repo_deployment,user:email,write:repo_hook - Login using
travis login <github token> --org - Run
echo <github token> | travis encrypt --org -r your/repo - Use that secret in your
.travis.ymlfile as described in the documentation
Source: Stack Overflow