@@ -81103,6 +81103,7 @@ _cargo__WEBPACK_IMPORTED_MODULE_4__ = (__webpack_async_dependencies__.then ? (aw
81103
81103
81104
81104
function setup() {
81105
81105
const version = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("version", { required: true });
81106
+ const liveRun = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getBooleanInput("live-run", { required: true });
81106
81107
const branch = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("branch", { required: true });
81107
81108
const repo = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("repo", { required: true });
81108
81109
const path = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("path");
@@ -81112,6 +81113,7 @@ function setup() {
81112
81113
const bumpDepsBranch = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("bump-deps-branch");
81113
81114
return {
81114
81115
version,
81116
+ liveRun,
81115
81117
branch,
81116
81118
repo,
81117
81119
path: path === "" ? undefined : path,
@@ -81147,8 +81149,10 @@ async function main(input) {
81147
81149
});
81148
81150
}
81149
81151
(0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)(`git push --force ${remote} ${input.branch}`, { cwd: repo });
81150
- (0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)(`git tag --force ${input.version} --message v${input.version}`, { cwd: repo, env: _config__WEBPACK_IMPORTED_MODULE_5__/* .gitEnv */ .B });
81151
- (0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)(`git push --force ${remote} ${input.version}`, { cwd: repo });
81152
+ if (input.liveRun) {
81153
+ (0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)(`git tag --force ${input.version} --message v${input.version}`, { cwd: repo, env: _config__WEBPACK_IMPORTED_MODULE_5__/* .gitEnv */ .B });
81154
+ (0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)(`git push --force ${remote} ${input.version}`, { cwd: repo });
81155
+ }
81152
81156
(0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)("git log -10", { cwd: repo });
81153
81157
(0,_command__WEBPACK_IMPORTED_MODULE_3__.sh)("git show-ref --tags", { cwd: repo });
81154
81158
await cleanup(input);
0 commit comments