Sha256: f2e605c829c0be2c68534afbfccc9a709f971c36fbf06322bce84b220ecddf24

Contents?: true

Size: 626 Bytes

Versions: 5

Compression:

Stored size: 626 Bytes

Contents

#!/bin/bash

#/ NAME
#/     ao-unlock -- unlock a deploy
#/
#/ SYNOPSIS
#/     ao unlock [deploy_set...]
#/     ao unlock migrate|compare [deploy_set...]

# 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/sbin/_treadstone"

# parse the command-line

# entry point
function main {
  case "${1}" in
    compare|migrate)
      nm_lock="${1}"; shift
      bundle exec cap "$@" "deploy:unlock_${nm_lock}"
      ;;
    *)
      bundle exec cap "$@" deploy:unlock
      ;;
  esac
}

require 'sub' "$BASH_SOURCE" "$@"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alpha_omega-1.1.7 libexec/ao-unlock
alpha_omega-1.1.6 libexec/ao-unlock
alpha_omega-1.1.5 libexec/ao-unlock
alpha_omega-1.1.4 libexec/ao-unlock
alpha_omega-1.1.3 libexec/ao-unlock