1.0.8 • Published 2 years ago

@pictarine/release-note-now v1.0.8

Weekly downloads
4
License
ISC
Repository
github
Last release
2 years ago

Release Note Now

Automatic release note generator for GitHub projects.

Install

Just install as NPM dependency.

npm install @pictarine/release-note-now --save

Run

For easy access, add a script into your package.json :

{
  "scripts": {
    "rn": "release-note-now"
  }
}

Launch example :

npm run rn \
  -- \
  -t ${{ secrets.GITHUB_TOKEN }} \
  -r Pictarine/my_ios_repo \
  -v "xcconfig:Shared/Supporting Files/Main.xcconfig"

Options

    --help     Show help                             [boolean]
-t, --token    GitHub Token                          [required]
-r, --repo     GitHub repository (owner/repo)        [required]
-b, --branch   Github branch                         [optional] [default: the default branch of the repo]
-k, --keys                                           [required] [default: "feat:Features,fix:Fixes"]
-v, --version                                        [required]
-s, --style    Commit message style (full/short)     [optional] [default: full]

For the -k option, you can define any key+title that will be searched in commit list.

  • For example, "config:Configuration" will search every commit starting with "Config" (uppercased/lowercased), then print them in "Configuration" section in your release note.

The -v option supports three types of versionning right now:

  • xcconfig:<path_to_xcconfig> : Search for an xcconfig file, then extract VERSION_NUMBER + BUILD_NUMBER to generate tag
  • increment:<increment_count> : The next tag will increment the last tag + your increment count
  • package.json:<path_to_file> : Take the version in package.json file
1.0.8

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago