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
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.0 vendor/bundle/gems/sawyer-0.8.2/script/release
sawyer-0.8.2 script/release
tdiary-5.0.13 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.12.1 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.11 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.9 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.8 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/sawyer-0.8.1/script/release
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.7 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.6 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.5 vendor/bundle/gems/sawyer-0.8.1/script/release
tdiary-5.0.4 vendor/bundle/gems/sawyer-0.8.1/script/release