Sha256: 00d703313137144c7855f95682baa5f6e9fc1644226548251b32159a3b940a43
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
#!/bin/bash set -x set -euo pipefail if git diff --name-only HEAD..HEAD^ | egrep -q '^VERSION$'; then # The VERSION file changed in the last commit, build the gem and push gem build *.gemspec gem push *.gem # We set the GITHUB_TOKEN variable from the repo's 'Secrets' admin panel. git remote set-url --push origin https://JackDanger:${GITHUB_TOKEN}@github.com/JackDanger/permanent_records.git version=$(cat VERSION) git tag ${version} git push origin ${version} fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
permanent_records-6.0.1 | bin/gempush-if-changed |