Skip to content

Commit

Permalink
Compile (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan authored Jul 10, 2023
1 parent 4e16d07 commit 5d0e70a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9900,8 +9900,8 @@ async function run() {
}

// Set the milestone
core.debug(`Updating milestone to ${milestone.title}...`);
const milestone = match[0]
core.debug(`Updating milestone to ${milestone.title}...`);
octokit.rest.issues.update({
...context.repo,
issue_number: pull_request.number,
Expand All @@ -9922,9 +9922,12 @@ function bumpVersion(before, target) {
version[2] += 1
break;
case 'minor':
version[2] = 0
version[1] += 1
break;
case 'major':
version[2] = 0
version[1] = 0
version[0] += 1
break;
}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ async function run() {
}

// Set the milestone
core.debug(`Updating milestone to ${milestone.title}...`);
const milestone = match[0]
core.debug(`Updating milestone to ${milestone.title}...`);
octokit.rest.issues.update({
...context.repo,
issue_number: pull_request.number,
Expand Down

0 comments on commit 5d0e70a

Please sign in to comment.