Skip to content

Automatically generate changelogs for your repositories by CLI.

License

Notifications You must be signed in to change notification settings

bms-alfred-chow/releaset

 
 

Repository files navigation

Releaset

Releaset is designed to automatically generate changelogs for your repositories by CLI.

Why Releaset?

  • Auto Changelogs: Generate changelogs based on git tag and git commit history.
  • CICD Friendly: Embed the command in your CICD work flow to update changelogs automatically.
  • Pre-release Friendly: Support pre-relase and production publishing.

Prerequisites

Ensure your project uses semantic versioning for git tags.

Example

Releaset uses this command to generate logs:

npx releaset --projectUrl https://github.com/AlfredChow2338/releaset --title @Releaset

releaset example

Project applied pre-release practice and want to publish production logs in CHANGELOG.md:

npx releaset --projectUrl {PROJECT_URL} \
  --title {LOG_FILE_TITLE}
  --prTag {PR_TAG}

Project applied pre-release practice and publish pre-release logs in CHANGELOG_PR.md:

npx releaset --projectUrl {PROJECT_URL} \
  --title {LOG_FILE_TITLE}
  --prTag {PR_TAG} \
  --pr

Export CHANGELOG which tags contain specific tag identifier:

npx releaset --projectUrl {PROJECT_URL} \
  --title {LOG_FILE_TITLE}
  --filterTag {FILTER_TAG}

Output CHANGELOG to specified directory eg. .releaset/:

npx releaset --projectUrl {PROJECT_URL} \
  --title {LOG_FILE_TITLE}
  --outDir .releaset

Installation

No installation is needed. We suggest directly use the npx releaset command for ease.

Pre-release version

The script will create a changelog file:

  • Pre-release mode: CHANGELOG_PR.md
  • Production mode: CHANGELOG.md

releaset-info.json will also be created to record all releaset information. No change is needed for this configuration file.

About

Automatically generate changelogs for your repositories by CLI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 76.3%
  • JavaScript 16.9%
  • TypeScript 6.8%