- recompile

This commit is contained in:
Mike Penz
2020-10-17 19:56:06 +02:00
parent 0452303d4c
commit 35c73a5378
2 changed files with 4 additions and 4 deletions
Generated Vendored
+3 -3
View File
@@ -651,7 +651,7 @@ class ReleaseNotes {
});
const { owner, repo, toTag, ignorePreReleases, configuration } = this.options;
if (!this.options.fromTag) {
core.startGroup(`🔖 Resolve 'fromTag'`);
core.startGroup(`🔖 Resolve previous tag`);
core.debug(`fromTag undefined, trying to resolve via API`);
const tagsApi = new tags_1.Tags(octokit);
const previousTag = yield tagsApi.findPredecessorTag(owner, repo, toTag, ignorePreReleases, (_a = configuration.max_tags_to_fetch) !== null && _a !== void 0 ? _a : configuration_1.DefaultConfiguration.max_tags_to_fetch);
@@ -670,7 +670,7 @@ class ReleaseNotes {
core.warning(`⚠️ No pull requests found`);
return (_c = configuration.empty_template) !== null && _c !== void 0 ? _c : configuration_1.DefaultConfiguration.empty_template;
}
core.startGroup("📦 Build changelog");
core.startGroup('📦 Build changelog');
const resultChangelog = transform_1.buildChangelog(mergedPullRequests, configuration);
core.endGroup();
return resultChangelog;
@@ -929,7 +929,7 @@ function buildChangelog(prs, config) {
var _a, _b, _c;
// sort to target order
const sort = (_a = config.sort) !== null && _a !== void 0 ? _a : configuration_1.DefaultConfiguration.sort;
const sortAsc = (sort).toUpperCase() === 'ASC';
const sortAsc = sort.toUpperCase() === 'ASC';
prs = pullRequests_1.sortPullRequests(prs, sortAsc);
core.info(`️ Sorted all pull requests ascending: ${sort}`);
const validatedTransformers = validateTransfomers(config.transformers);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long