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
net-ldap-0.9.0 script/release
html-pipeline-1.11.0 script/release
html-pipeline-1.10.0 script/release
slack.rb-0.0.6 script/release
html-pipeline-1.9.0 script/release
slack.rb-0.0.5 script/release
slack.rb-0.0.4 script/release
slack.rb-0.0.3 script/release
slack.rb-0.0.2 script/release
slack.rb-0.0.1 script/release
html-pipeline-1.8.0 script/release
html-pipeline-1.7.0 script/release