Sha256: e07b565d77e313094a4479ace360413b53092ce8fc856a0d4d1012f0df183849
Contents?: true
Size: 663 Bytes
Versions: 12
Compression:
Stored size: 663 Bytes
Contents
#!/bin/bash if output=$(git status --porcelain) && [ -z "$output" ]; then echo "Checking out master" && \ git checkout master && \ echo "Pulling latest from github" && \ git pull origin master if output=$(git status --porcelain) && [ -z "$output" ]; then echo "Bumping version" && \ bundle exec bump $1 && \ echo "Pushing to github" && \ git push && \ echo "Building gem" && \ bundle exec rake build && \ echo "Releasing gem" && \ bundle exec rake release else >&2 echo 'PLEASE COMMIT ALL CHANGES BEFORE RELEASING.' exit 1 fi else >&2 echo 'PLEASE COMMIT ALL CHANGES BEFORE RELEASING.' exit 1 fi
Version data entries
12 entries across 12 versions & 2 rubygems