Commit Graph
25 Commits
Author SHA1 Message Date
Mike Penz c62484d339 - try to fix tests 2020-11-17 15:44:01 +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 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 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 bdb790ac5e - introduce tests to verify new placeholders used for template and empty_template 2020-10-19 18:04:56 +02:00
Mike Penz 49d12f5b1e - introduce tests covering the action process itself 2020-10-19 17:28:54 +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 9258366eaf - tmp remove test class 2020-10-19 16:37:11 +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 63430c1e77 - adjust test cases and provide new flag 2020-10-18 11:16:04 +02:00
Mike Penz 3070fb0a7c - introduce test cases verifying ordering works 2020-10-18 09:27:20 +02:00
Mike Penz 0452303d4c - improve action specification
- clean up imports for tests
2020-10-17 19:53:23 +02:00
Mike Penz da89739163 - introduce more placeholders (milestone, labels, asignees, reviewers)
- update testcase to check new placeholders
2020-10-17 18:11:22 +02:00
Mike Penz fbc3c7370b - fix test case 2020-10-17 18:05:35 +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 f1be8d021b - add tests to verify specific from, to
- add test to verify specific from, to hashes
2020-10-16 20:34:40 +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 e5142357fc - fix test case for adjusted tag naming 2020-10-16 19:31:40 +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 db70432deb - fix a ton of formatting issues automatically
- fix many javascript issues
2020-10-16 16:29:13 +02:00
Mike Penz 92577cd8be - configure test case 2020-10-16 15:56:40 +02:00
Mike Penz 5dcc029d42 Initial commit 2020-10-16 09:32:07 +02:00