Sha256: e358a3a8b508e7def5c944584f5e7fdf898be21f9027d83349b652a8ba0decc4

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

#!/bin/sh

sha=`git rev-parse --short HEAD`
user_name=`git config user.name | \
  cut -d ' ' -f 1 | \
  tr '[:upper:]' '[:lower:]'`
branch_name="staging-$sha-$user_name"

git checkout -b $branch_name
git add -f Gemfile.lock
git commit -m "Deploying $sha"
git push --force staging $branch_name:master

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
refills-0.2.0 bin/deploy
breezeblocks-0.0.4 bin/deploy
breezeblocks-0.0.2 bin/deploy
breezeblocks-0.0.1 bin/deploy
refills-0.1.0 bin/deploy