Commit Graph
14 Commits
Author SHA1 Message Date
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 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
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 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
Lere Williams 2f58d14b24 Set fromTag output
This makes sure to set the fromTag output which is currently documented
but not actually set.
2022-01-31 18:20:22 -08:00
Mike Penz 28deab6aa9 ```
@types/jest                ^27.0.3  →  ^27.4.0
 @typescript-eslint/parser   ^5.8.0  →   ^5.9.0
 @types/node                ^17.0.2  →  ^17.0.8
 eslint                      ^8.5.0  →   ^8.6.0
 eslint-plugin-jest         ^25.3.0  →  ^25.3.4
 jest                       ^27.4.5  →  ^27.4.7
 jest-circus                ^27.4.5  →  ^27.4.6
```
2022-01-07 09:52:03 +01:00
Leo Giovanetti 71cd64f865 Adding baseUrl for GHE auth 2021-12-03 18:47:02 -03:00
Mike Penz d22595ba8b - rework toTag resolving fallback if build was not started from a tag
- fallback to retrieve `toTag` from git API (only if 2 tags are available)
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/427
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/433
- introduce test case to verify
2021-08-15 10:56:55 +02:00
Mike Penz 6a2da2fa89 - upgrade dependencies
- recompile dist
- fix eslint errors, update eslint rules
2021-08-14 18:07:18 +02:00
Mike Penz 762538b445 - if only a single tag is available resolve the initial commit as fallback. this is meant to support initial release scenarios
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/276
2021-07-05 08:57:37 +02: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 1089e28a2f - provide alternative method to sort tags
- introduce option configuration allowing to specify which method to pick
  - semver (default)
  - alphabetical sort order (sort)
2020-10-20 11:55:09 +02: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 8b6119add8 - split logic to validate and read in additional details for changelog generation into new releaseNotesBuilder
- construct main class to be as simple as possible
2020-10-19 17:28:54 +02:00