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

Version Path
tvd-tvdinner-0.0.8 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.6 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.5 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.4 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.3 cookbooks/tvdinner/files/default/jasonx/bump
ghp-0.0.2 libexec/bump
opsdb-0.0.1 libexec/bump
alpha_omega-1.5.15 libexec/bump
alpha_omega-1.5.14 libexec/bump
alpha_omega-1.5.12 libexec/bump