Sem
Semaphore 2.0 command line interface.
Install
Edge (latest build on master branch):
curl https://storage.googleapis.com/sem-cli-releases/get-edge.sh | bashStable (latest stable version, manually released):
curl https://storage.googleapis.com/sem-cli-releases/get.sh | bashHomebrew (latest stable version)
brew install semaphoreci/tap/semDevelopment
Releases
We build a new release for every tag in this repository and upload it to Github.
Apart from this, we have two installation scripts:
get.sh- gets the latest stable version of the CLIget-edge.sh- gets the latest edge version of the CLI
The edge script is updated every time we release a tag. The stable get.sh
script needs to be manually approved and released from Semaphore. Follow the
releasing new versions procedure to update and release.
Releasing new versions
-
Prepare the changes as a PR -> Get a green build -> Merge to master
-
Checkout latest master code and run:
make tag.patch,make tag.minoror
make tag.majordepending on the type of the change. We use semantic
versioning for the CLI. -
Semaphore will build the release, upload it to Github and our brew taps, and
update theget-edgeinstallation script. -
The
stableinstallation script needs to be updated by manually promoting
the release on Semaphore. Find the workflow for the tag you want to promote
to stable, and click on the "Stable" promotion. This will update theget.sh
script. -
Update the CHANGELOG.md file