Sha256: eb42cc51471f8a0695225d48f3b0af708358d57928de539c6d77f493bf33bb53

Contents?: true

Size: 363 Bytes

Versions: 11

Compression:

Stored size: 363 Bytes

Contents

#!/usr/bin/env bash
# Usage: script/release
# Build the package, tag a commit, push it to origin, and then release the
# package publicly.

set -e

version="$(script/package | grep Version: | awk '{print $2}')"
[ -n "$version" ] || exit 1

git commit --allow-empty -a -m "Release $version"
git tag "$version"
git push --tags origin
gem push pkg/*-${version}.gem

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
google-api-client-0.9.5 script/release
google-api-client-0.9.4 script/release
google-api-client-0.9.3 script/release
google-api-client-0.9.2 script/release
google-api-client-0.9.1 script/release
google-api-client-0.9 script/release
google-api-client-0.9.pre5 script/release
google-api-client-0.9.pre4 script/release
google-api-client-0.9.pre3 script/release
google-api-client-0.9.pre2 script/release
google-api-client-0.9.pre1 script/release