Sha256: c055592e59fedc4616792f37681171cfe260e99ebf30f636d634f127b7ea9e0e
Contents?: true
Size: 784 Bytes
Versions: 2
Compression:
Stored size: 784 Bytes
Contents
#!/bin/bash set -e VERSION=$1 echo "Install github_changelog_generator" # gem install --user github_changelog_generator echo "Update 'lib/reckon/version.rb'" echo -e "module Reckon\n VERSION=\"$VERSION\"\nend" > lib/reckon/version.rb echo "Run `bundle install` to build updated Gemfile.lock" bundle install echo "Run changelog generator (requires $TOKEN to be your github token)" github_changelog_generator -u cantino -p reckon -t $TOKEN --future-release v$VERSION echo "Commit changes" git add CHANGELOG.md lib/reckon/version.rb Gemfile.lock git commit -m "Release $VERSION" echo "Tag release" git tag v$VERSION echo "Build new gem" gem build reckon.gemspec echo "Push changes and tags" echo "git push && git push --tags" echo "Push new gem" echo "gem push reckon-$VERSION.gem"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reckon-0.8.0 | bin/build-new-version.sh |
reckon-0.7.2 | bin/build-new-version.sh |