Sha256: 519bc1670bd43e39ada84e1ad4fd12c62d573d9a68315c7501b444c22ae49367

Contents?: true

Size: 866 Bytes

Versions: 146

Compression:

Stored size: 866 Bytes

Contents

#!/bin/bash --login
if [[ $1 != "" && $2 != "" && $3 != "" ]]; then
  # Default Strategy is to merge codebase
  git config pull.rebase false
  git config commit.gpgsign true
  git pull origin master
  git add . --all
  echo 'Updating Gems to Latest Versions in Gemfile...'
  ./upgrade_Gemfile_gems.sh
  cryptum_autoinc_version
  git commit -a -S --author="${1} <${2}>" -m "${3}"
  ./upgrade_cryptum.sh
  # Tag for every 100 commits (i.e. 0.1.100, 0.1.200, etc)
  tag_this_version_bool=`ruby -r 'cryptum' -e 'if Cryptum::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 'cryptum' -e 'print Cryptum::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

146 entries across 146 versions & 1 rubygems

Version Path
cryptum-0.0.386 git_commit.sh
cryptum-0.0.385 git_commit.sh
cryptum-0.0.384 git_commit.sh
cryptum-0.0.383 git_commit.sh
cryptum-0.0.382 git_commit.sh
cryptum-0.0.381 git_commit.sh
cryptum-0.0.380 git_commit.sh
cryptum-0.0.379 git_commit.sh
cryptum-0.0.378 git_commit.sh
cryptum-0.0.377 git_commit.sh
cryptum-0.0.376 git_commit.sh
cryptum-0.0.375 git_commit.sh
cryptum-0.0.374 git_commit.sh
cryptum-0.0.373 git_commit.sh
cryptum-0.0.372 git_commit.sh
cryptum-0.0.370 git_commit.sh
cryptum-0.0.369 git_commit.sh
cryptum-0.0.368 git_commit.sh
cryptum-0.0.367 git_commit.sh
cryptum-0.0.366 git_commit.sh