#!/usr/bin/env bash VERSION=$1 # Build the new gem and publish it to Rubygems. gem build erp_integration.gemspec gem push "erp_integration-$VERSION.gem" --host https://rubygems.org rm "erp_integration-$VERSION.gem"