1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-13 17:11:39 +02:00

fix: restore include-component-in-tag default (false) (#888)

v3 had this option and must be configurable or at least set to `false`
so that the default behavior is to create a plain `v1.2.3` tag (without
the component name prefixed).

Found this while dogfooding our own usage of the action (in this repo).
This commit is contained in:
Jeff Ching
2023-12-01 11:37:56 -08:00
committed by GitHub
parent eb6e95104a
commit 19431a1126
4 changed files with 9 additions and 0 deletions

2
dist/index.js vendored
View File

@@ -116242,6 +116242,7 @@ function parseInputs() {
skipGitHubRelease: getOptionalBooleanInput('skip-github-release'),
skipGitHubPullRequest: getOptionalBooleanInput('skip-github-pull-request'),
fork: getOptionalBooleanInput('fork'),
includeComponentInTag: getOptionalBooleanInput('include-component-in-tag'),
};
return inputs;
}
@@ -116260,6 +116261,7 @@ function loadOrBuildManifest(github, inputs) {
core.debug('Building manifest from config');
return release_please_1.Manifest.fromConfig(github, github.repository.defaultBranch, {
releaseType: inputs.releaseType,
includeComponentInTag: inputs.includeComponentInTag,
}, {
fork: inputs.fork,
}, inputs.path);