scripts/release in recurly-4.0.1 vs scripts/release in recurly-4.1.0

- old
+ new

@@ -1,32 +1,17 @@ #!/usr/bin/env bash + set -e -# TODO this file could be gone -RELEASED_LOG="/tmp/ruby-pending-changes.md" -THIS_VERSION=$(./scripts/bump --this-version) +# Usage +# +# ./release +# -# Generate the changelog with changes in this release -./scripts/changelog --release-tag "$THIS_VERSION" -git add CHANGELOG.md -git commit -m "Update Changelog for Release $THIS_VERSION" -git push origin master - # publish # Clean up any leftover gems rm -f ./*.gem # Build the new gem gem build recurly.gemspec # Push what should be the only gem present gem push ./*.gem -# create release -hub release create -c -F "$RELEASED_LOG" "$THIS_VERSION" - -# Copy-pasteable messages for announcments -echo ":ruby: Ruby $THIS_VERSION Released :ruby:" -echo ":rubygems: Rubygems: https://rubygems.org/gems/recurly/versions/$THIS_VERSION" -echo "Release: https://github.com/recurly/recurly-client-ruby/releases/tag/$THIS_VERSION" -echo "Changelog:" -echo "\`\`\`" -cat "$RELEASED_LOG" -echo "\`\`\`"