Sha256: f3054c5d700f7c19873ed015dc70317f1d81d15a7986028fc62ebf0db280edba

Contents?: true

Size: 477 Bytes

Versions: 9

Compression:

Stored size: 477 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 tag -f "v$(cat VERSION)"

  git push -f origin latest
  git push --tags
fi

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
phonetics-3.2.0 bin/gempush-if-changed
phonetics-3.0.9 bin/gempush-if-changed
phonetics-3.0.8 bin/gempush-if-changed
phonetics-3.0.7 bin/gempush-if-changed
phonetics-3.0.6 bin/gempush-if-changed
phonetics-3.0.5 bin/gempush-if-changed
phonetics-3.0.4 bin/gempush-if-changed
phonetics-3.0.3 bin/gempush-if-changed
phonetics-3.0.2 bin/gempush-if-changed