Commit Graph
42 Commits
Author SHA1 Message Date
Mike Penz d2a15abb64 - drop support for tag SHA as in most cases this information is not available at the moment
- introduce new testcase to verify `DAYS_SINCE` calculation
- fix wrong log messages using the `TagInfo` object instead the name
- add additional log messages
2022-07-26 16:48:06 +02:00
Mike Penz c061d0e577 - introduce new configuration flag to fetchReleaseInformation
- if enabled, it will unlock the ability to use new placeholders
  - `${{ DAYS_SINCE }}`
  - `${{ FROM_TAG_DATE }}`
  - `${{ TO_TAG_DATE }}`
- refactor to carry on the full `TagInfo` information instead of only the tagname
- refresh testcases to new apis
2022-07-26 16:47:23 +02:00
Mike Penz 2fd6f64773 - ensure output is properly set also in commitMode 2022-07-26 14:42:20 +02:00
Mike Penz 55354469a8 - introduce new additional placeholders useable for building the changelog
| **Placeholder**            | **Description**                                                                                    | **Empty** |
|----------------------------|----------------------------------------------------------------------------------------------------|:---------:|
| `${{CHANGED_FILES}}`       | The count of changed files.                                                                        |           |
| `${{ADDITIONS}}`           | The count of code additions (lines).                                                               |           |
| `${{DELETIONS}}`           | The count of code deletions (lines).                                                               |           |
| `${{CHANGES}}`             | The count of total changes (lines).                                                                |           |
| `${{COMMITS}}`             | The count of commits in this release.                                                              |           |

- restructure project to return additional diff related information along the individual commits
- update testcases to verify functionality of new placeholders
2022-07-26 14:14:16 +02:00
ipcjs 0bc0c91c3e Update the note about from/toTag. 2022-06-06 16:08:31 +08:00
Mike Penz 1e867df2de - introduce new flag allowing to fetch reviewers who approved PRs
- add new testcase which verifies approvers being included
  - adjust config for some test cases to verify reviewers not being pulled if disabled
2022-04-08 12:13:21 +02:00
Mike Penz 6211ea4995 - expand log messages
- introduce test case to verify the inclusion of the open PR as part of the standard PR set
2022-04-08 11:00:39 +02:00
Mike Penz 85af6a8181 - introduce new flag to include open PRs into the changelog
- only fetch open with this flag
- expand pull request spec with
  - status, created at timestamp
- expand definition for placeholder patterns in the changelog
2022-04-08 11:00:39 +02:00
Mike Penz f93f67fad5 - introduce new MERGE_SHA placeholder support into template for PRs (and commit SHA for commit mode)
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/552
2021-10-22 22:18:06 +02:00
Mike Penz 8c6615fc6c - update README, recompile dist 2021-08-26 17:20:12 +02:00
Mike Penz 595c92f7b7 - define , joined list and set it as pull_requests output
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/451
2021-08-26 17:15:28 +02:00
Mike Penz a753722e84 - introduce test cases for transform.test.ts
- add test case to highlight label extractor feature FIX https://github.com/mikepenz/release-changelog-builder-action/issues/450
  - test cases can easily be run via `npm test -- transform.test.ts`
- slightly simplify releaseNotes.ts and transform.ts
2021-08-26 16:05:04 +02:00
Mike Penz 6a2da2fa89 - upgrade dependencies
- recompile dist
- fix eslint errors, update eslint rules
2021-08-14 18:07:18 +02:00
invakid404 dead9527b4 feat: keep labels in a set and make them lowercase 2021-06-23 10:31:36 +03:00
Mike Penz 72dd6bb3ca - expand base_branches configuration to support a regex pattern to make it more flexible
- run npm update / upgrade
- recompile dist files
2021-04-30 10:55:14 +02:00
Mike Penz 27a8df8102 - recompile dist files
- apply formatting
2021-04-30 10:35:27 +02:00
Mike Penz 3a59a463ad - slightly improve filtering code
- format config / readme
2021-04-30 10:29:09 +02:00
Jorge Navarro c49b84ec4a Add base branches as configuration 2021-04-30 01:28:36 +02:00
Mike Penz e9e10d147f - use filtered commits for changelog 2021-02-26 12:03:27 +01:00
Mike Penz becbe17766 - add support to exclude merge commits in release notes generation
- move filterCommits into commits.ts
- recompile dist files with updated code
2021-02-26 10:47:08 +01:00
Mike Penz d66aa0a4e5 - introduce experimental (light) commit based changelog generation mode
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/141
  - this is not fully supported and not documented as it lacks big amounts of the features we know and love
- npm install
- recompile dist
2021-01-07 15:31:18 +01:00
Mike Penz a1b4e555e4 - identify merged PRs given the mergeCommitSha
- do not solely go via merge commits as not all merges will have these
2020-10-29 12:06:32 +01:00
Mike Penz c6ed215bc2 - introduce additional placeholders supported by the template
- introduce placeholder support into `empty_template`
- introduce new placeholders for templates, update README with new placeholders
2020-10-19 17:53:39 +02:00
Mike Penz d9c1239d34 - move fromTag resolving to main.ts and remove dependency on checks from ReleaseNotes.ts
- require fromTag for ReleaseNotes
- adjust tests, split into according test classes
- simplify transform.ts
2020-10-19 16:33:00 +02:00
Mike Penz 4b5b38e990 - use || instead of ?? 2020-10-18 12:26:26 +02:00
Mike Penz 3fd4677f8a - introduce new capability to enforce a build failure
- introduce config to fail on error instead of just logging
- simplify main logic, move functionality in other classes
2020-10-18 11:06:02 +02:00
Mike Penz ec2aabe545 - introduce more output values, and a more detailed description 2020-10-18 10:22:47 +02:00
Mike Penz 0452303d4c - improve action specification
- clean up imports for tests
2020-10-17 19:53:23 +02:00
Mike Penz f63fa1dabb - fix formatting, and unused import 2020-10-17 19:42:26 +02:00
Mike Penz 1e0f6ab49e - add more log messages to action 2020-10-17 19:37:11 +02:00
Mike Penz f675789732 - group logs together to have a better visualisation of what's going on
- add emojis to all sorts of logs
2020-10-17 19:37:11 +02:00
Mike Penz b464ff088a - introduce better more stable fallbacks in case the configuration is missing
- move configurations into subfolder for easier discovery
- simplify missing value fallback specification
2020-10-17 18:02:08 +02:00
Mike Penz 619d3f460e - introduce better handling of cases in which invalid references are provided, return an empty changelog and send out error 2020-10-17 17:38:08 +02:00
Mike Penz 2b44c93df7 - add capability to ignore any pre-release releases from matching against, only relevant if no fromTag is specified
- protect against issue if no previous tag is available
2020-10-16 20:31:49 +02:00
Mike Penz 488b03cfa1 - fix lint errors 2020-10-16 19:37:04 +02:00
Mike Penz 2f1eed7458 - add additional settings to ensure we won't spend the whole API quota if a merge included non anticipated commits 2020-10-16 19:30:10 +02:00
Mike Penz 152792eaa4 - improve test case to depend on self
- fix various eslint error reports
2020-10-16 17:38:50 +02:00
Mike Penz 12347cc06a - add more logs to identify what may fail 2020-10-16 16:35:45 +02:00
Mike Penz db70432deb - fix a ton of formatting issues automatically
- fix many javascript issues
2020-10-16 16:29:13 +02:00
Mike Penz 0a66008df0 - introduce proper approach to retrieve tag before a given tag
- add configuration options for
  - path
  - configuration
  - fromTag, toTag
  - token
- allow to specify transformers to adjust information to a specific form
- allow to specify different templates
- speed up by limiting information to pull
- add logic to automatically resolve current
- use github actions logger
2020-10-16 15:52:24 +02:00
Mike Penz 8dd6d28fd5 - read in labels from pull requests
- stop processing pull requests as soon as we reached a PR which was last changed before the relevant date range
- return filtered pull requests
2020-10-16 09:53:08 +02:00
Mike Penz 8944338c36 - initial import of original source from https://github.com/nblagoev/pull-release-notes
- adjust action specifications
2020-10-16 09:51:24 +02:00