Sha256: 7ad182a3eefd70b81590132c1e2a9442ca146371b7ddc215ed033e39734062ce

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
pilfer-1.0.2 script/release
pilfer-1.0.1 script/release
pilfer-1.0.0 script/release
pilfer-0.0.1.pre4 script/release
pilfer-0.0.1.pre3 script/release
pilfer-0.0.1.pre2 script/release
pilfer-0.0.1.pre script/release