Merge branch 'main' from workbench2.git
[arvados.git] / sdk / ruby-google-api-client / script / release
1 age: script/release
2 # Build the package, tag a commit, push it to origin, and then release the
3 # package publicly.
4
5 set -e
6
7 version="$(script/package | grep Version: | awk '{print $2}')"
8 [ -n "$version" ] || exit 1
9
10 git commit --allow-empty -a -m "Release $version"
11 git tag "$version"
12 git push --tags origin
13 gem push pkg/*-${version}.gem
14