Sha256: b02ef9ec9abe3b47d834b7d4b1d58cc55390220e0624cde14c3742b2f4a5fe03

Contents?: true

Size: 385 Bytes

Versions: 57

Compression:

Stored size: 385 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 "v$version"
git push origin
git push origin "v$version"
gem push pkg/*-${version}.gem

Version data entries

57 entries across 43 versions & 4 rubygems

Version Path
athena-cli-0.1.0 script/release
sawyer-0.8.1 script/release
sawyer-0.8.0 script/release
tdiary-5.0.2 vendor/bundle/gems/sawyer-0.7.0/script/release
tdiary-5.0.1 vendor/bundle/gems/sawyer-0.7.0/script/release
sawyer-0.7.0 script/release
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/sawyer-0.6.0/script/release
queue_kit-0.0.10 script/release
sawyer-0.6.0 script/release
sawyer-0.5.5 script/release
sawyer-0.5.4 script/release
sawyer-0.5.3 script/release
sawyer-0.5.2 script/release
sawyer-0.5.1 script/release
sawyer-0.5.0 script/release
sawyer-0.4.0 script/release
queue_kit-0.0.9 script/release