Sha256: 7c909c45264be5e2269b9702bc58cf7baeb64fbd8f84f8ff6c1c16e7f3dcb746

Contents?: true

Size: 398 Bytes

Versions: 92

Compression:

Stored size: 398 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

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

Version data entries

92 entries across 92 versions & 12 rubygems

Version Path
toolhound-ruby-1.0.36 script/release
toolhound-ruby-1.0.35 script/release
toolhound-ruby-1.0.34 script/release
toolhound-ruby-1.0.33 script/release
toolhound-ruby-1.0.32 script/release
toolhound-ruby-1.0.31 script/release
toolhound-ruby-1.0.30 script/release
toolhound-ruby-1.0.29 script/release
toolhound-ruby-1.0.28 script/release
toolhound-ruby-1.0.27 script/release
toolhound-ruby-1.0.26 script/release
toolhound-ruby-1.0.25 script/release
toolhound-ruby-1.0.24 script/release
toolhound-ruby-1.0.23 script/release
toolhound-ruby-1.0.22 script/release
toolhound-ruby-1.0.21 script/release
toolhound-ruby-1.0.20 script/release
toolhound-ruby-1.0.19 script/release
toolhound-ruby-1.0.18 script/release
toolhound-ruby-1.0.17 script/release