Mike Penz
99f650ca02
- simplify code
2021-06-23 11:57:53 +02:00
Mike Penz
4d47219031
- use toLocaleLowerCase to ensure we have proper locale dependent lowercase behavior
...
- ensure we also match the configuration case independent
2021-06-23 11:54:45 +02:00
invakid404
deadb8953d
refactor: use mapPullRequest
2021-06-23 12:32:30 +03:00
invakid404
dead9527b4
feat: keep labels in a set and make them lowercase
2021-06-23 10:31:36 +03:00
invakid404
dead522cc2
refactor: fix typo
2021-06-23 10:11:31 +03:00
invakid404
deadcef62b
feat: allow flags to be specified per transformer
2021-06-23 10:08:58 +03:00
Mike Penz
1e433ff45a
- add additional messages in case of no or just a single tag
2021-05-13 14:52:49 +02:00
Mike Penz
31d30f3069
- fix formatting for different files
2021-05-13 14:48:12 +02: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
Juan José González-Abril
9410d84efb
Use RegExp instead of string as the pattern in calls to replace
2021-03-15 22:22:31 +01:00
Will Douglas
069080d600
Make maxPullRequest warning more apparent
2021-03-05 19:12:40 -07:00
Mike Penz
0bbac0be0f
- introduce new on_property field for Extractor allowing to define the property to use for the label extraction
...
- use property (if provided) and allow label extraction via this approach
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/208
2021-03-04 16:16:21 +01: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
f8918d6247
- introduce new API adding support to extract additional PR labels from the PR message. This can also be used to organise the changelog in commitMode
...
- adjust RegExp to be executed in unicode mode, allows referencing a emoji via `.`
- introduce new testcase for emoji mode with label extractor
2021-02-19 14:59:54 +01:00
Mike Penz
7d89db2cb5
- adjust default max back track time to 365 days (e.g. allow release tags to have longer inbetween)
...
- this is possible with larger page size on commits and PRs
2021-01-11 22:53:50 +01:00
Mike Penz
2cbd5d5863
- extend per page PR amount to lower requests done to the GitHub API
...
- beside speeding up for releases with many PRs (this also benefits cases which exeed the 90 days max back check limit)
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/154
2021-01-11 19:59:10 +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
1f2d0ea832
- differentiate between configuration not found vs configuration could not be parsed
...
- help with https://github.com/mikepenz/release-changelog-builder-action/issues/147
2021-01-05 18:30:26 +01:00
Mike Penz
a463f188c1
- introduce new API allowing to write changelog directly to result file
...
- introduce test case for writing a file
2020-12-30 17:49:41 +01:00
Mike Penz
ca10cdcd6a
- ensure we retrieved pull requests, fix undefined exception
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/127
2020-12-21 10:38:06 +01:00
Mike Penz
764738b7fa
- adjust things to have fallback to empty string as octocit changed nullability
...
- recompile dist
2020-12-02 09:26:33 +01:00
Mike Penz
c29d7639d7
- use loose semver parsing to support a wider variety of cases
2020-11-11 13:40:17 +01:00
Mike Penz
616c9b8330
- fix lint error
2020-11-04 14:19:06 +01:00
Mike Penz
db78e9819a
- introduce capability to have a category for all uncategorized elements (e.g. no matched label, and not specifically ignored)
2020-11-04 14:16:14 +01:00
Mike Penz
8323240009
- introduce support for specifying labels which will ignore PRs from being included in the changelog
...
- please note ignored changelogs can be still included i the changelog via the according placeholder
- fix count for categorizedPrs
2020-11-04 13:55:49 +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
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
2a95fba312
- verify versions match semver versioning
2020-10-19 19:58:36 +02:00
Mike Penz
4ad1d585c9
- formatting adjustment
2020-10-19 18:56:26 +02:00
Mike Penz
83ad299b7e
- upgrade sorting logic to use semver to ensure we support all cases properly
2020-10-19 18:56:26 +02:00
Mike Penz
c309b839db
- make sortTags method to be accessible for test
...
- add test to verify ordering of tags
2020-10-19 18:56:26 +02:00
Mike Penz
26cab8c692
- properly count categorized PRs
2020-10-19 18:03:50 +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
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
ff50df5399
- fix log output for uncategorized elements (wrote string char count before :D)
2020-10-18 15:50:37 +02:00
Mike Penz
4b5b38e990
- use || instead of ??
2020-10-18 12:26:26 +02:00
Mike Penz
962ddbdd54
- test
2020-10-18 12:20:51 +02:00
Mike Penz
af4fa53849
- retrieve owner and repo by repository again
2020-10-18 12:17:31 +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
ffce3af679
- add support to prefer retrieving current toTag from github.context.ref if it starts with refs/tags/ instead of git command
2020-10-18 10:04:10 +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
bd49950417
- use different pen for write logs
...
- remove default value for configuration, to cleanly fallback to defaults
- rename gitHelper, move dir exists helper
- add reading input values group
- improve warning for configuration
2020-10-17 19:37:11 +02:00
Mike Penz
1e0f6ab49e
- add more log messages to action
2020-10-17 19:37:11 +02:00