Skip to content

Commit b250188

Browse files
authored
chore(ci): use correct variable to get the latest commit message in js repo (#287)
1 parent 8a6b6f2 commit b250188

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clients/algoliasearch-client-javascript/.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release:
1010
name: Publish
1111
runs-on: ubuntu-20.04
12-
if: "startsWith(github.event.issue.title, 'chore: release v')"
12+
if: "startsWith(github.event.head_commit.message, 'chore: release v')"
1313
steps:
1414
- uses: actions/checkout@v2
1515
with:

scripts/release/process-release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async function processRelease(): Promise<void> {
214214
const next = semver.inc(current, releaseType);
215215

216216
await gitCommit({
217-
message: `chore: release ${next}`,
217+
message: `chore: release v${next}`,
218218
cwd: tempGitDir,
219219
});
220220
await execa('git', ['tag', `v${next}`], { cwd: tempGitDir });

0 commit comments

Comments
 (0)