From 9c6aace14e4540bf350c711549b684aa71ce4a07 Mon Sep 17 00:00:00 2001 From: Michel Cantacuzene Date: Fri, 2 Apr 2021 18:03:36 -0400 Subject: [PATCH 1/2] Fix Tag Bug --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index edd57c94..4b1405e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -36,7 +36,7 @@ async function main() { userName: 'version-bumper', userEmail: 'bumper@boringday.co', message: `Updated version ${state.curVersion} -> ${state.newVersion}.`, - tag: !state.tag ? { name: state.newVersion } : undefined, + tag: state.tag ? { name: state.newVersion } : undefined, token: core.getInput('github-token'), branch: state.branch }; From 22f54109f52ab46a903125719b7fa5ba58fad020 Mon Sep 17 00:00:00 2001 From: michmich112 Date: Fri, 2 Apr 2021 18:05:50 -0400 Subject: [PATCH 2/2] compiled tag bug fix --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 96e16acd..d2af39cd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -64,7 +64,7 @@ function main() { userName: 'version-bumper', userEmail: 'bumper@boringday.co', message: `Updated version ${state.curVersion} -> ${state.newVersion}.`, - tag: !state.tag ? { name: state.newVersion } : undefined, + tag: state.tag ? { name: state.newVersion } : undefined, token: core.getInput('github-token'), branch: state.branch };