Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releasing a new gem version #196

Closed
brendon opened this issue Apr 1, 2016 · 6 comments
Closed

Releasing a new gem version #196

brendon opened this issue Apr 1, 2016 · 6 comments

Comments

@brendon
Copy link
Owner

brendon commented Apr 1, 2016

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

@swanandp
Copy link
Collaborator

swanandp commented Apr 1, 2016

👍

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
#196

@fabn
Copy link
Collaborator

fabn commented Apr 1, 2016

Hi @brendon detailed instructions are available here

TL;DR

  • Generate a github token here for your github username
  • Release the gem and push the tag to github
  • After you pushed to github (changelog needs the tag available online) run the rake task
  • Inspect and commit updated changelog
  • Push it 👯 👯
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
Copy link
Collaborator

swanandp commented Apr 2, 2016

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
#196 (comment)

@brendon
Copy link
Owner Author

brendon commented Apr 3, 2016

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
Copy link
Owner Author

brendon commented Apr 14, 2016

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.

@brendon brendon closed this as completed Apr 14, 2016
@swanandp
Copy link
Collaborator

Nice! 🎆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants