Skip to content

Commit e60707a

Browse files
authored
Merge pull request #24 from michmich112/develop
HotFix Tag Bug
2 parents 6b453c9 + 22f5410 commit e60707a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function main() {
6464
userName: 'version-bumper',
6565
userEmail: 'bumper@boringday.co',
6666
message: `Updated version ${state.curVersion} -> ${state.newVersion}.`,
67-
tag: !state.tag ? { name: state.newVersion } : undefined,
67+
tag: state.tag ? { name: state.newVersion } : undefined,
6868
token: core.getInput('github-token'),
6969
branch: state.branch
7070
};

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function main() {
3636
userName: 'version-bumper',
3737
userEmail: 'bumper@boringday.co',
3838
message: `Updated version ${state.curVersion} -> ${state.newVersion}.`,
39-
tag: !state.tag ? { name: state.newVersion } : undefined,
39+
tag: state.tag ? { name: state.newVersion } : undefined,
4040
token: core.getInput('github-token'),
4141
branch: state.branch
4242
};

0 commit comments

Comments
 (0)