mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-13 16:41:40 +02:00
chore: build dist release-please-action (#476)
This commit is contained in:
committed by
GitHub
parent
2d1c441f60
commit
773ba3ce69
33
dist/index.js
vendored
33
dist/index.js
vendored
@@ -81577,6 +81577,7 @@ function extractReleaserConfig(config) {
|
|||||||
bumpPatchForMinorPreMajor: config['bump-patch-for-minor-pre-major'],
|
bumpPatchForMinorPreMajor: config['bump-patch-for-minor-pre-major'],
|
||||||
changelogSections: config['changelog-sections'],
|
changelogSections: config['changelog-sections'],
|
||||||
changelogPath: config['changelog-path'],
|
changelogPath: config['changelog-path'],
|
||||||
|
changelogHost: config['changelog-host'],
|
||||||
releaseAs: config['release-as'],
|
releaseAs: config['release-as'],
|
||||||
skipGithubRelease: config['skip-github-release'],
|
skipGithubRelease: config['skip-github-release'],
|
||||||
draft: config.draft,
|
draft: config.draft,
|
||||||
@@ -81749,25 +81750,26 @@ async function latestReleaseVersion(github, targetBranch, releaseFilter, prefix,
|
|||||||
return candidateTagVersion.sort((a, b) => b.compare(a))[0];
|
return candidateTagVersion.sort((a, b) => b.compare(a))[0];
|
||||||
}
|
}
|
||||||
function mergeReleaserConfig(defaultConfig, pathConfig) {
|
function mergeReleaserConfig(defaultConfig, pathConfig) {
|
||||||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
||||||
return {
|
return {
|
||||||
releaseType: (_b = (_a = pathConfig.releaseType) !== null && _a !== void 0 ? _a : defaultConfig.releaseType) !== null && _b !== void 0 ? _b : 'node',
|
releaseType: (_b = (_a = pathConfig.releaseType) !== null && _a !== void 0 ? _a : defaultConfig.releaseType) !== null && _b !== void 0 ? _b : 'node',
|
||||||
bumpMinorPreMajor: (_c = pathConfig.bumpMinorPreMajor) !== null && _c !== void 0 ? _c : defaultConfig.bumpMinorPreMajor,
|
bumpMinorPreMajor: (_c = pathConfig.bumpMinorPreMajor) !== null && _c !== void 0 ? _c : defaultConfig.bumpMinorPreMajor,
|
||||||
bumpPatchForMinorPreMajor: (_d = pathConfig.bumpPatchForMinorPreMajor) !== null && _d !== void 0 ? _d : defaultConfig.bumpPatchForMinorPreMajor,
|
bumpPatchForMinorPreMajor: (_d = pathConfig.bumpPatchForMinorPreMajor) !== null && _d !== void 0 ? _d : defaultConfig.bumpPatchForMinorPreMajor,
|
||||||
changelogSections: (_e = pathConfig.changelogSections) !== null && _e !== void 0 ? _e : defaultConfig.changelogSections,
|
changelogSections: (_e = pathConfig.changelogSections) !== null && _e !== void 0 ? _e : defaultConfig.changelogSections,
|
||||||
changelogPath: (_f = pathConfig.changelogPath) !== null && _f !== void 0 ? _f : defaultConfig.changelogPath,
|
changelogPath: (_f = pathConfig.changelogPath) !== null && _f !== void 0 ? _f : defaultConfig.changelogPath,
|
||||||
releaseAs: (_g = pathConfig.releaseAs) !== null && _g !== void 0 ? _g : defaultConfig.releaseAs,
|
changelogHost: (_g = pathConfig.changelogHost) !== null && _g !== void 0 ? _g : defaultConfig.changelogHost,
|
||||||
skipGithubRelease: (_h = pathConfig.skipGithubRelease) !== null && _h !== void 0 ? _h : defaultConfig.skipGithubRelease,
|
releaseAs: (_h = pathConfig.releaseAs) !== null && _h !== void 0 ? _h : defaultConfig.releaseAs,
|
||||||
draft: (_j = pathConfig.draft) !== null && _j !== void 0 ? _j : defaultConfig.draft,
|
skipGithubRelease: (_j = pathConfig.skipGithubRelease) !== null && _j !== void 0 ? _j : defaultConfig.skipGithubRelease,
|
||||||
prerelease: (_k = pathConfig.prerelease) !== null && _k !== void 0 ? _k : defaultConfig.prerelease,
|
draft: (_k = pathConfig.draft) !== null && _k !== void 0 ? _k : defaultConfig.draft,
|
||||||
component: (_l = pathConfig.component) !== null && _l !== void 0 ? _l : defaultConfig.component,
|
prerelease: (_l = pathConfig.prerelease) !== null && _l !== void 0 ? _l : defaultConfig.prerelease,
|
||||||
packageName: (_m = pathConfig.packageName) !== null && _m !== void 0 ? _m : defaultConfig.packageName,
|
component: (_m = pathConfig.component) !== null && _m !== void 0 ? _m : defaultConfig.component,
|
||||||
versionFile: (_o = pathConfig.versionFile) !== null && _o !== void 0 ? _o : defaultConfig.versionFile,
|
packageName: (_o = pathConfig.packageName) !== null && _o !== void 0 ? _o : defaultConfig.packageName,
|
||||||
extraFiles: (_p = pathConfig.extraFiles) !== null && _p !== void 0 ? _p : defaultConfig.extraFiles,
|
versionFile: (_p = pathConfig.versionFile) !== null && _p !== void 0 ? _p : defaultConfig.versionFile,
|
||||||
includeComponentInTag: (_q = pathConfig.includeComponentInTag) !== null && _q !== void 0 ? _q : defaultConfig.includeComponentInTag,
|
extraFiles: (_q = pathConfig.extraFiles) !== null && _q !== void 0 ? _q : defaultConfig.extraFiles,
|
||||||
includeVInTag: (_r = pathConfig.includeVInTag) !== null && _r !== void 0 ? _r : defaultConfig.includeVInTag,
|
includeComponentInTag: (_r = pathConfig.includeComponentInTag) !== null && _r !== void 0 ? _r : defaultConfig.includeComponentInTag,
|
||||||
tagSeparator: (_s = pathConfig.tagSeparator) !== null && _s !== void 0 ? _s : defaultConfig.tagSeparator,
|
includeVInTag: (_s = pathConfig.includeVInTag) !== null && _s !== void 0 ? _s : defaultConfig.includeVInTag,
|
||||||
pullRequestTitlePattern: (_t = pathConfig.pullRequestTitlePattern) !== null && _t !== void 0 ? _t : defaultConfig.pullRequestTitlePattern,
|
tagSeparator: (_t = pathConfig.tagSeparator) !== null && _t !== void 0 ? _t : defaultConfig.tagSeparator,
|
||||||
|
pullRequestTitlePattern: (_u = pathConfig.pullRequestTitlePattern) !== null && _u !== void 0 ? _u : defaultConfig.pullRequestTitlePattern,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -82951,6 +82953,7 @@ class BaseStrategy {
|
|||||||
this.targetBranch = options.targetBranch;
|
this.targetBranch = options.targetBranch;
|
||||||
this.repository = options.github.repository;
|
this.repository = options.github.repository;
|
||||||
this.changelogPath = options.changelogPath || DEFAULT_CHANGELOG_PATH;
|
this.changelogPath = options.changelogPath || DEFAULT_CHANGELOG_PATH;
|
||||||
|
this.changelogHost = options.changelogHost;
|
||||||
this.changelogSections = options.changelogSections;
|
this.changelogSections = options.changelogSections;
|
||||||
this.tagSeparator = options.tagSeparator;
|
this.tagSeparator = options.tagSeparator;
|
||||||
this.skipGitHubRelease = options.skipGitHubRelease || false;
|
this.skipGitHubRelease = options.skipGitHubRelease || false;
|
||||||
@@ -83001,6 +83004,7 @@ class BaseStrategy {
|
|||||||
async buildReleaseNotes(conventionalCommits, newVersion, newVersionTag, latestRelease, commits) {
|
async buildReleaseNotes(conventionalCommits, newVersion, newVersionTag, latestRelease, commits) {
|
||||||
var _a;
|
var _a;
|
||||||
return await this.changelogNotes.buildNotes(conventionalCommits, {
|
return await this.changelogNotes.buildNotes(conventionalCommits, {
|
||||||
|
host: this.changelogHost,
|
||||||
owner: this.repository.owner,
|
owner: this.repository.owner,
|
||||||
repository: this.repository.repo,
|
repository: this.repository.repo,
|
||||||
version: newVersion.toString(),
|
version: newVersion.toString(),
|
||||||
@@ -84523,6 +84527,7 @@ class PHPYoshi extends base_1.BaseStrategy {
|
|||||||
const newVersion = await this.versioningStrategy.bump(version, splitCommits[directory]);
|
const newVersion = await this.versioningStrategy.bump(version, splitCommits[directory]);
|
||||||
versionsMap.set(composer.name, newVersion);
|
versionsMap.set(composer.name, newVersion);
|
||||||
const partialReleaseNotes = await this.changelogNotes.buildNotes(splitCommits[directory], {
|
const partialReleaseNotes = await this.changelogNotes.buildNotes(splitCommits[directory], {
|
||||||
|
host: this.changelogHost,
|
||||||
owner: this.repository.owner,
|
owner: this.repository.owner,
|
||||||
repository: this.repository.repo,
|
repository: this.repository.repo,
|
||||||
version: newVersion.toString(),
|
version: newVersion.toString(),
|
||||||
@@ -113460,7 +113465,7 @@ module.exports = {};
|
|||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = {"i8":"13.14.0"};
|
module.exports = {"i8":"13.15.0"};
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user