brendon / acts_as_list

An ActiveRecord plugin for managing lists.
http://brendon.github.io/acts_as_list/
MIT License
2.05k stars 356 forks source link

Releasing a new gem version #196

Closed brendon closed 8 years ago

brendon commented 8 years ago

@fabn, could you run me through how the new change log generator works? I'd like to release a new gem version.

swanandp commented 8 years ago

đź‘Ť

On Friday 1 April 2016, Brendon Muir notifications@github.com wrote:

@fabn https://github.com/fabn, could you run me through how the new change log generator works? I'd like to release a new gem version.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/swanandp/acts_as_list/issues/196

fabn commented 8 years ago

Hi @brendon detailed instructions are available here

TL;DR

rake release
git tag vXYZ
git push --tags
# After you get the token
export CHANGELOG_GITHUB_TOKEN="«your-40-digit-github-token»"
rake changelog
git diff # To check the changelog
git -a commit -m 'Updated changelog'
git push
swanandp commented 8 years ago

Let's put this in a doc somewhere. Great job doing this @fabn!

On Friday 1 April 2016, Fabio Napoleoni notifications@github.com wrote:

Hi @brendon https://github.com/brendon detailed instructions are available [https://github.com/skywinder/github-changelog-generator] TL;DR

rake release git tag vXYZ git push --tags# After you get the tokenexport CHANGELOG_GITHUB_TOKEN="«your-40-digit-github-token»" rake changelog git diff # To check the changelog git -a commit -m 'Updated changelog' git push

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/swanandp/acts_as_list/issues/196#issuecomment-204431983

brendon commented 8 years ago

Indeed :) Thanks @fabn. @swanandp, I'll have a crack at the instructions then post them in the wiki once I've confirmed they're working well :)

brendon commented 8 years ago

Hi guys, I've released the 0.7.3 gem version. It looks like rake release creates the tag in github also, so I didn't run git tag... and git push --tags.

The wiki page is here: https://github.com/swanandp/acts_as_list/wiki/Creating-a-new-gem-version

Let me know if there are any problems.

swanandp commented 8 years ago

Nice! :fireworks: