ryancyq/rodiff

View on GitHub
bin/release

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash

VERSION=$(./bin/bump-version "$1")

git add Gemfile.lock lib/rodiff/version.rb
git commit -S -m "Bump version for $VERSION"
git push
git tag v$VERSION
git push --tags

rake package
for gem in pkg/rodiff-$VERSION*.gem ; do
  gem push "$gem" --host https://rubygems.org
  rm "$gem"
done