Sha256: 07b266e0a4632d19c9958318e2d47f374df473d004ddf702e809e441b8302b89

Contents?: true

Size: 835 Bytes

Versions: 65

Compression:

Stored size: 835 Bytes

Contents

#!/bin/bash
if [[ $1 != "" && $2 != "" && $3 != "" ]]; then
  # Default Strategy is to merge codebase
  git config pull.rebase false
  git config commit.gpgsign true
  git pull
  git add . --all
  echo 'Updating Gems to Latest Versions in Gemfile...'
  ./find_latest_gem_versions_per_Gemfile.sh
  pwn_autoinc_version
  git commit -a -S --author="${1} <${2}>" -m "${3}"
  ./update_pwn.sh
  # Tag for every 100 commits (i.e. 0.1.100, 0.1.200, etc)
  tag_this_version_bool=`ruby -r 'pwn' -e 'if PWN::VERSION.split(".")[-1].to_i % 100 == 0; then print true; else print false; end'`
  if [[ $tag_this_version_bool == 'true' ]]; then
    this_version=`ruby -r 'pwn' -e 'print PWN::VERSION'`
    echo "Tagging: ${this_version}"
    git tag $this_version
  fi
else
  echo "USAGE: ${0} '<full name>' <email address> '<git commit comments>'"
fi

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
pwn-0.4.385 git_commit_test_reinit_gem.sh
pwn-0.4.384 git_commit_test_reinit_gem.sh
pwn-0.4.383 git_commit_test_reinit_gem.sh
pwn-0.4.382 git_commit_test_reinit_gem.sh
pwn-0.4.381 git_commit_test_reinit_gem.sh
pwn-0.4.380 git_commit_test_reinit_gem.sh
pwn-0.4.378 git_commit_test_reinit_gem.sh
pwn-0.4.377 git_commit_test_reinit_gem.sh
pwn-0.4.376 git_commit_test_reinit_gem.sh
pwn-0.4.375 git_commit_test_reinit_gem.sh
pwn-0.4.374 git_commit_test_reinit_gem.sh
pwn-0.4.373 git_commit_test_reinit_gem.sh
pwn-0.4.372 git_commit_test_reinit_gem.sh
pwn-0.4.371 git_commit_test_reinit_gem.sh
pwn-0.4.370 git_commit_test_reinit_gem.sh
pwn-0.4.369 git_commit_test_reinit_gem.sh
pwn-0.4.368 git_commit_test_reinit_gem.sh
pwn-0.4.367 git_commit_test_reinit_gem.sh
pwn-0.4.366 git_commit_test_reinit_gem.sh
pwn-0.4.365 git_commit_test_reinit_gem.sh