Sha256: bf6f09a33c5fe59b0acc6cbb0512129c31e147cb06c9609cfa1bf349e327f02e

Contents?: true

Size: 566 Bytes

Versions: 58

Compression:

Stored size: 566 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 "# frozen_string_literal: true\n\nmodule ErpIntegration\n  VERSION = '$VERSION'\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 origin v$VERSION

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
erp_integration-0.57.0 bin/prerelease
erp_integration-0.56.0 bin/prerelease
erp_integration-0.55.0 bin/prerelease
erp_integration-0.54.0 bin/prerelease
erp_integration-0.53.1 bin/prerelease
erp_integration-0.53.0 bin/prerelease
erp_integration-0.52.0 bin/prerelease
erp_integration-0.50.0 bin/prerelease
erp_integration-0.49.0 bin/prerelease
erp_integration-0.48.0 bin/prerelease
erp_integration-0.43.0 bin/prerelease
erp_integration-0.42.0 bin/prerelease
erp_integration-0.41.0 bin/prerelease
erp_integration-0.40.0 bin/prerelease
erp_integration-0.39.0 bin/prerelease
erp_integration-0.38.0 bin/prerelease
erp_integration-0.37.0 bin/prerelease
erp_integration-0.36.1 bin/prerelease
erp_integration-0.36.0 bin/prerelease
erp_integration-0.35.0 bin/prerelease