A github changelog generator for your release notes.
npm i -g origami-logs
Create a file named .origami-logs-config.json
in the root of your project.
The file should look something like this:
{
"github":{
"apiUrl": "https://git.somedomain.com/api/v3",
"token": "123456",
"repository": "Organization/repo-name"
}
}
TO RUN:
changelog generate --tags "startingTag,endingTag"
To see all other options:
changelog generate --help
If you wish to add other config options it might look like this:
{
"github":{
"apiUrl": "https://git.somedomain.com/api/v3",
"token": "123456",
"repository": "Organization/repo-name"
},
"aliases": {
"enhancement": [
"feature"
]
},
"extraLabels": {
"chore": "Chores Completed:"
},
"extras": {
"pivotal":{
"boardID": "1234567"
}
}
}
github
: REQUIRED The info about the given repository you wish to get the changelog format for markdownaliases
: This is to be used if you want to use your own custom labels but still conform to the enhance/bug format.- IE: You might have a feature label but still want it to show
Features Implemented
on the changelog.
- IE: You might have a feature label but still want it to show
extraLabels
: Define your own custom labels and changelog headingsextras
: Where additional connections livepivotal
: Supports linking pivotal stories in your change log assuming commits conform to the format:[#STORY_ID_HERE] Commit Message here
boardID
: Pivotal Board ID (Found at the end of the url such ashttps://www.pivotaltracker.com/n/projects/ID-HERE
)
To test locally run
node cli.js generate --tags "TAG1,TAG2"