Commit Graph
39 Commits
Author SHA1 Message Date
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
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 6cce2a6c0f - write assignee correct 2020-10-17 18:19:41 +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 8058353346 - adjust defaults to already provide a great base set of categories 2020-10-17 18:07:31 +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 8e8f50e7f9 - rebuild and update things 2020-10-16 16:45:33 +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 732ef0ad47 - upgrade moment imports 2020-10-16 10:00:54 +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
Mike Penz 5dcc029d42 Initial commit 2020-10-16 09:32:07 +02:00