scripts/release in recurly-3.4.1 vs scripts/release in recurly-3.5.0
- old
+ new
@@ -3,12 +3,12 @@
# TODO this file could be gone
RELEASED_LOG="/tmp/ruby-pending-changes.md"
THIS_VERSION=$(./scripts/bump --this-version)
-# Finally need to update the full changelog
-./scripts/changelog
+# 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
@@ -25,6 +25,8 @@
# 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:"
-cat "$RELEASED_LOG"
\ No newline at end of file
+echo "\`\`\`"
+cat "$RELEASED_LOG"
+echo "\`\`\`"