Sha256: c061552ea1ecbc1f457f514240f3da1de6d07d8ea5f92c618baf4a717296f1fa

Contents?: true

Size: 676 Bytes

Versions: 60

Compression:

Stored size: 676 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/_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

60 entries across 60 versions & 1 rubygems

Version Path
alpha_omega-1.5.10 libexec/bump
alpha_omega-1.5.9 libexec/bump
alpha_omega-1.5.8 libexec/bump
alpha_omega-1.5.7 libexec/bump
alpha_omega-1.5.6 libexec/bump
alpha_omega-1.5.4 libexec/bump
alpha_omega-1.5.3 libexec/bump
alpha_omega-1.5.2 libexec/bump
alpha_omega-1.5.1 libexec/bump
alpha_omega-1.5.0 libexec/bump
alpha_omega-1.3.48 libexec/bump
alpha_omega-1.3.47 libexec/bump
alpha_omega-1.3.46 libexec/bump
alpha_omega-1.3.45 libexec/bump
alpha_omega-1.3.44 libexec/bump
alpha_omega-1.3.43 libexec/bump
alpha_omega-1.3.42 libexec/bump
alpha_omega-1.3.41 libexec/bump
alpha_omega-1.3.40 libexec/bump
alpha_omega-1.3.39 libexec/bump