forked from cerc-io/stack-orchestrator
747 B
747 B
Release Process
Manually publish to github releases
In order to build, the shiv and wheel packages must be installed:
$ pip install shiv
$ pip install wheel
Then:
- Define
CERC_GH_RELEASE_SCRIPTS_DIR
- Define
CERC_PACKAGE_RELEASE_GITHUB_TOKEN
- Run
./scripts/tag_new_release.sh <major> <minor> <patch>
- Run
./scripts/build_shiv_package.sh
- Run
./scripts/publish_shiv_package_github.sh <major> <minor> <patch>
- Commit the new version file.
e.g.
$ export CERC_GH_RELEASE_SCRIPTS_DIR=~/projects/cerc/github-release-api/
$ export CERC_PACKAGE_RELEASE_GITHUB_TOKEN=github_pat_xxxxxx
$ ./scripts/tag_new_release.sh 1 0 17
$ ./scripts/build_shiv_package.sh
$ ./scripts/publish_shiv_package_github.sh 1 0 17