Skip to content

Commit 0df6de5

Browse files
committed
fix: add missing (
1 parent 65494cf commit 0df6de5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function run() {
100100
.map(
101101
commit =>
102102
structure
103-
.replace(/({{message}})|{{messageHeadline}})|({{author}})|({{sha}})/g, (match, message, messageHeadline, author, sha) => {
103+
.replace(/({{message}})|({{messageHeadline}})|({{author}})|({{sha}})/g, (match, message, messageHeadline, author, sha) => {
104104
if (message) return commit.commit.message
105105
if (messageHeadline) return commit.commit.messageHeadline
106106
if (author) return !commit.hasOwnProperty('author') || !commit.author.hasOwnProperty('login') ? '' : commit.author.login

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "autotag-action",
3-
"version": "1.2.0",
3+
"version": "1.2.2",
44
"private": true,
55
"description": "Automatically create a tag whenever the version changes in package.json",
66
"main": "lib/main.js",

0 commit comments

Comments
 (0)