Sha256: 7f8fd5a4e11743a83aaed1f9230716e49f73ca06f831ff09ecb497166429fcba
Contents?: true
Size: 671 Bytes
Versions: 10
Compression:
Stored size: 671 Bytes
Contents
#!/bin/bash #/ NAME #/ bump -- increments a semver in a file or in git tags #/ #/ SYNOPSIS #/ bump [major|minor|patch] #/ bump 1.2.3 #/ bump #/ without arguments is equivalent to 'bump patch' # 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/_jason" # parse the command-line DEFINE_boolean 'dirty' "$FLAGS_FALSE" 'force bumping in unclean work area' 'f' # entry point function main { require 'bump' if [[ "$#" = 0 ]]; then set -- patch fi bump_version "$FLAGS_dirty" "$@" } require sub "$BASH_SOURCE" "$@"
Version data entries
10 entries across 10 versions & 4 rubygems