Sha256: 8ee5c39748e432ed3b0a69232d936d15053be892a72ddcdb707279fe3ba683ab

Contents?: true

Size: 672 Bytes

Versions: 13

Compression:

Stored size: 672 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/bin/_treadstone"

# 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

13 entries across 12 versions & 2 rubygems

Version Path
alpha_omega-1.2.1 libexec/bump
boxcar-0.10005.1 libexec/bump
alpha_omega-1.2.0 libexec/bump
alpha_omega-1.1.11 libexec/bump
alpha_omega-1.1.10 libexec/bump
alpha_omega-1.1.9 libexec/bump
alpha_omega-1.1.7 libexec/bump
alpha_omega-1.1.6 libexec/bump
alpha_omega-1.1.5 libexec/bump
alpha_omega-1.1.4 libexec/bump
alpha_omega-1.1.3 libexec/bump
alpha_omega-1.1.1 libexec/bump
alpha_omega-1.1.1 libexec/bump.orig