Sha256: 59f571337ae019d788ddbdb2e474e99ae9923b1e376fdfd43fabfa960afc0f53

Contents?: true

Size: 900 Bytes

Versions: 78

Compression:

Stored size: 900 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
    git push origin $this_version
  fi
else
  echo "USAGE: ${0} '<full name>' <email address> '<git commit comments>'"
fi

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
cryptum-0.0.466 git_commit.sh
cryptum-0.0.465 git_commit.sh
cryptum-0.0.464 git_commit.sh
cryptum-0.0.463 git_commit.sh
cryptum-0.0.462 git_commit.sh
cryptum-0.0.461 git_commit.sh
cryptum-0.0.460 git_commit.sh
cryptum-0.0.459 git_commit.sh
cryptum-0.0.458 git_commit.sh
cryptum-0.0.457 git_commit.sh
cryptum-0.0.456 git_commit.sh
cryptum-0.0.455 git_commit.sh
cryptum-0.0.454 git_commit.sh
cryptum-0.0.453 git_commit.sh
cryptum-0.0.452 git_commit.sh
cryptum-0.0.451 git_commit.sh
cryptum-0.0.450 git_commit.sh
cryptum-0.0.449 git_commit.sh
cryptum-0.0.448 git_commit.sh
cryptum-0.0.447 git_commit.sh