Sha256: 299b35349e08690afe87f8ab25034d139547edab528dcef2b205e2bd78d96a03

Contents?: true

Size: 685 Bytes

Versions: 24

Compression:

Stored size: 685 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="$(unset CDPATH; 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

24 entries across 24 versions & 2 rubygems

Version Path
alox-0.0.7 libexec/bump
alox-0.0.6 libexec/bump
alox-0.0.5 libexec/bump
alox-0.0.4 libexec/bump
alox-0.0.3 libexec/bump
alox-0.0.1 libexec/bump
tvd-tvdinner-0.0.27 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.26 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.25 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.24 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.23 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.22 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.21 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.20 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.19 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.18 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.17 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.16 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.15 cookbooks/tvdinner/files/default/jasonx/bump
tvd-tvdinner-0.0.14 cookbooks/tvdinner/files/default/jasonx/bump