Sha256: 9b98b78f46ddd51e5453bef4d043eee49a1d1d0b5ab8c1608b0a3d8f3a22541b
Contents?: true
Size: 630 Bytes
Versions: 5
Compression:
Stored size: 630 Bytes
Contents
#!/bin/bash #/ NAME #/ push -- upload the latest (timestamp) rubygem to rubygems.org #/ #/ SYNOPSIS #/ push # figure out the project root under which bin, lib live shome="$(cd -P -- "$(dirname -- "$0")/.." && pwd -P)" # load a meat library source "$shome/bin/_prime" "$@" # entry point function main { set +f local latest_gem="$(ls -td *.gem 2>&- | head -1)" set -f if [[ -z "$latest_gem" ]]; then logger_fatal "no gems found" exit 1 fi gem push "$latest_gem" } # parse the command-line parse_command_line "$@" || exit $? eval set -- "${FLAGS_ARGV}" # pass arguments to entry point main "$@"
Version data entries
5 entries across 5 versions & 1 rubygems