GH_TOKEN
: used bysemantic-release
to push changes to Github and manage releasesGEM_HOST_API_KEY
: rubygems API keyGEM_ALTERNATIVE_NAME
(optional): used for testing of CI flows, to avoid publication of test releases under official package name
./release.sh
Bash wrapper script is used merely as a launcher of semantic-release
with extra logic to explicitly determine git url from TRAVIS_REPO_SLUG
variable if its defined (otherwise git url is taken from package.json
,
which breaks CI on forked repos).
- Test happens using current version number specified in
lib/appmap/version.rb
, thenrelease.sh
launchessemantic-release
to do the rest - The version number is increased (including modicication of
version.rb
) - Gem is published under new version number
- Github release is created with the new version number