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

Add lerna changelog #29

Closed
wants to merge 7 commits into from
Closed

Add lerna changelog #29

wants to merge 7 commits into from

Conversation

hzoo
Copy link
Contributor

@hzoo hzoo commented Jan 28, 2016

From other PR (#23) - Didn't get to updating the readme but I would do that as well

To run it, currently I'm checking out the branch,

GITHUB_AUTH=public_repo_auth_key_here GITHUB_ORG=babel GITHUB_REPO=babel ./node_modules/.bin/lerna changelog


Example changelog: https://github.com/babel/babel/releases/tag/v6.7.0

Then we go in and manually add code if useful, and summary/explanations


I've been using this for the babel changelog

@hzoo
Copy link
Contributor Author

hzoo commented Feb 1, 2016

TODO: figure out what to do with the hardcoded github tags (labels) https://github.com/kittens/lerna/pull/29/files#diff-98b51ca511528ecc68ea54d6adbf8f6bR8

@hzoo
Copy link
Contributor Author

hzoo commented Feb 3, 2016

rebased to master

Potential changes to make:

Other

  • After publish, leave a comment on each merged PR that it was released in version x.x.x)

@hzoo hzoo mentioned this pull request Feb 11, 2016
"tag: documentation",
"tag: internal",
"tag: polish"
];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa, this is cool! Would definitely like to use this feature.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we're using this as a baseline for the babel changelog https://github.com/babel/babel/releases

@andrewagain
Copy link

@hzoo have you considered using an existing changelog package like conventional-changelog?

All you have to do is create the changelog first, then git add it, then run lerna.

@cdaringe
Copy link
Contributor

that's pretty cool, @ahfarmer!

@hzoo hzoo force-pushed the add-changelog branch 2 times, most recently from 3dc17ba to e7d01e7 Compare May 16, 2016 15:00
@hzoo hzoo force-pushed the add-changelog branch 4 times, most recently from 25bb96b to 983d361 Compare May 16, 2016 16:06
@joscha
Copy link
Contributor

joscha commented May 27, 2016

We currently had to integrate lerna with commitizen and semantic-release.
There is a Commitizen Lerna adapter here: https://github.com/atlassian/cz-lerna-changelog
And a lerna-semantic-release package here: https://github.com/atlassian/lerna-semantic-release
Currently we are not generating a changelog, yet, as semantic-release is tightly coupled to git, but potentially some of the work we did can be reused for this ticket.

@hzoo
Copy link
Contributor Author

hzoo commented May 28, 2016

Moved to a standalone repo https://github.com/lerna/lerna-changelog so gonna close

@hzoo hzoo closed this May 28, 2016
@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants