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.2.4 vendor/bundle/ruby/3.1.0/gems/sawyer-0.9.2/script/release
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/sawyer-0.9.2/script/release
sawyer-0.9.2 script/release
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/sawyer-0.9.1/script/release
sawyer-0.9.1 script/release
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/sawyer-0.8.2/script/release
sawyer-0.9.0 script/release
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/sawyer-0.8.2/script/release
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/sawyer-0.8.2/script/release