20862: Add 'sdk/ruby-google-api-client/' from commit '2f4be67955e48bb65d008ecd9ff6da9...
[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