Sha256: cc7f39e9285b8d476125ee98da6f034a7135fa1b7d98b3e356658daaa43c3bb2

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

#!/bin/bash

set -x

# 'latest' is a git tag that we recreate every time we release a new
# version. If the VERSION file has changed since `latest` then we release a
# new version.
git pull --tags
if git diff --name-only HEAD latest -- VERSION | egrep -q .; then
  # The VERSION file changed since 'latest', build the gem and push
  gem build *.gemspec
  gem push *.gem
  git tag -f latest HEAD
  git push origin latest
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phonetics-3.0.1 bin/gempush-if-changed