Skip to content

Commit

Permalink
chore(ci): use correct variable to get the latest commit message in j…
Browse files Browse the repository at this point in the history
…s repo (#287)
  • Loading branch information
eunjae-lee authored Mar 24, 2022
1 parent 8a6b6f2 commit b250188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release:
name: Publish
runs-on: ubuntu-20.04
if: "startsWith(github.event.issue.title, 'chore: release v')"
if: "startsWith(github.event.head_commit.message, 'chore: release v')"
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/process-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async function processRelease(): Promise<void> {
const next = semver.inc(current, releaseType);

await gitCommit({
message: `chore: release ${next}`,
message: `chore: release v${next}`,
cwd: tempGitDir,
});
await execa('git', ['tag', `v${next}`], { cwd: tempGitDir });
Expand Down

0 comments on commit b250188

Please sign in to comment.