Sha256: ee56afc1d15329a2bb76546cfbfc853733730b4693216f7f43992c163e5f428a

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

#!/usr/bin/env bash

VERSION=$1

# Use the latest dependencies for the new gem version.
bundle

# Run all the rake task to ensure we're publishing a publishable gem.
rake

# Update the gem version.
printf "module ErpIntegration\n  VERSION = \"$VERSION\".freeze\nend\n" > ./lib/erp_integration/version.rb
git add lib/erp_integration/version.rb
git checkout -b "release_v.$VERSION"
git commit -m "[RELEASE] Bump version for v$VERSION"
git push origin "release_v.$VERSION"

# Tag the new gem version.
git tag v$VERSION
git push --tags

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_integration-0.2.0 bin/prerelease