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

feat(api): Add the ability to include commit authors and PR references to default-changelog-notes #1938

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions __snapshots__/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ Options:
--changelog-sections comma-separated list of scopes to include in
the changelog [string]
--changelog-host host for hyperlinks in the changelog[string]
--commit-partial-path path to a \`.hbs\` file for custom commit
format [string]
--last-package-version last version # that package was released as
[deprecated: use --latest-tag-version instead] [string]
--latest-tag-version Override the detected latest tag version
Expand Down
34 changes: 34 additions & 0 deletions __snapshots__/default-changelog-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,40 @@ exports['DefaultChangelogNotes buildNotes should build default release notes 1']
* some feature ([sha1](https://github.com/googleapis/java-asset/commit/sha1))


### Bug Fixes

* some bugfix ([sha2](https://github.com/googleapis/java-asset/commit/sha2))
`

exports['DefaultChangelogNotes buildNotes should build default release notes with 2 authors 1'] = `
## [1.2.3](https://github.com/googleapis/java-asset/compare/v1.2.2...v1.2.3) (1983-10-10)


### ⚠ BREAKING CHANGES

* some bugfix

### Features

* some feature ([sha1](https://github.com/googleapis/java-asset/commit/sha1)) by @jamszh @chachako

### Bug Fixes

* some bugfix ([sha2](https://github.com/googleapis/java-asset/commit/sha2))
`

exports['DefaultChangelogNotes buildNotes should build default release notes with 2 authors and prRef 1'] = `
## [1.2.3](https://github.com/googleapis/java-asset/compare/v1.2.2...v1.2.3) (1983-10-10)


### ⚠ BREAKING CHANGES

* some bugfix

### Features

* some feature ([sha1](https://github.com/googleapis/java-asset/commit/sha1)) by @jamszh @chachako in #100

### Bug Fixes

* some bugfix ([sha2](https://github.com/googleapis/java-asset/commit/sha2))
Expand Down
Loading
Loading