Sha256: 2ec02d4b018dc87121a9be7f350c6d8af82b8ff4eb8497418d95d0049634b9a7
Contents?: true
Size: 548 Bytes
Versions: 1
Compression:
Stored size: 548 Bytes
Contents
#!/usr/bin/env bash set -euo pipefail BRANCH=$(git rev-parse --abbrev-ref HEAD) if [[ "$BRANCH" != "master" ]]; then echo "Aborting release! Not on master. Current branch is '$BRANCH'."; exit 1; fi COMMIT_MESSAGE=$(git log --format=%B -n 1) if ! [[ $COMMIT_MESSAGE =~ ^Prepare[[:space:]]to[[:space:]]release[[:space:]]v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then echo "Aborting release! Commit message is improperly formatted. Commit message is '$COMMIT_MESSAGE'."; exit 1; fi bundle exec rake build release:guard_clean release:source_control_push
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shaped-0.6.1 | bin/release |