1.0.4 • Published 6 years ago

@braira/changelog v1.0.4

Weekly downloads
4
License
MIT
Repository
gitlab
Last release
6 years ago

Changelog - AIRA module

Generate changelog for your release, based on commits between tags.

Usage

npm install -g @bracketedrebels/aira @braira/changelog
aira changelog --help

Example

Send Discord notification via the webhook together with changelog, based on commits between last two tags.

.notification.discord.json

{
  "embeds": [
    {
      "title": "My Awesome app released!",
      "description": "{{{chlog}}}"
    }
  ]
}

.changelog.mustache

Changelog:

{{#commits}}
• {{type}}: {{subject}}
{{/commits}}

CMD

npm install -g @bracketedrebels/aira @braira/changelog @braira/notify
export CHLOG=$(aira changelog --template=.changelog.mustache)
aira notify <webhook> .notification.discord.json --payload.chlog=$CHLOG