Sha256: 02b9cff0575f4907c761382561711eae2c9893e103210ea7dcaf09ef78034aa5
Contents?: true
Size: 585 Bytes
Versions: 9
Compression:
Stored size: 585 Bytes
Contents
#!/usr/bin/env bash -l export LF_GEM_VERSION=`ruby release/gem_version.rb` read -p "This will build and release license_finder $LF_GEM_VERSION -- are you sure you wish to continue? [Y/n] " -n 1 -r if [[ ! $REPLY =~ ^[Yy]$ ]] then printf "\nAborted!" exit fi function perform { printf "\n> $1\n" $1 } printf "\nBuilding jruby gem" perform "rvm use jruby" perform "gem build *.gemspec" printf "\nBuilding ruby gem" perform "rvm use ruby" perform "gem build *.gemspec" for file in *.gem do perform "gem push $file" done perform "rm *.gem" printf "\nRelease finished."
Version data entries
9 entries across 9 versions & 1 rubygems