Sha256: 3d82fb8f20a9fe7519ea44eb74b9ae87abd3867de017ee07377d0cde7340f9ec
Contents?: true
Size: 818 Bytes
Versions: 5
Compression:
Stored size: 818 Bytes
Contents
#!/bin/bash #/ NAME #/ deploy -- #/ #/ SYNOPSIS #/ #/ deploy # figure out the project root under which bin, lib live shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)" # load a jason bourne library source "$shome/libexec/_treadstone" # define command line options: # var name, default, description, short option DEFINE_boolean first "$FLAGS_FALSE" "first time signing off?" # entry point function main { if [[ "$#" = 0 ]]; then logger_fatal "must specify a semver" exit 1 fi local ver_signoff="$1"; shift if [[ "$FLAGS_first" = "$FLAGS_FALSE" ]]; then git fetch -f origin refs/notes/deploys:refs/notes/deploys fi git notes --ref=deploys append -m "$ver_signoff signoff $LOGNAME $(date)" git push origin refs/notes/deploys } require sub "$BASH_SOURCE" "$@"
Version data entries
5 entries across 5 versions & 1 rubygems