21128: Merge commit 'adbbc9e3c7a36d39b30f403555ee5889e32adcc0' into 21128-toolbar...
[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