diff --git a/clients/algoliasearch-client-javascript/.github/workflows/release.yml b/clients/algoliasearch-client-javascript/.github/workflows/release.yml index 19157423cb..8b8fb3fa4f 100644 --- a/clients/algoliasearch-client-javascript/.github/workflows/release.yml +++ b/clients/algoliasearch-client-javascript/.github/workflows/release.yml @@ -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: diff --git a/scripts/release/process-release.ts b/scripts/release/process-release.ts index 1de0f42d87..58be53f1c5 100755 --- a/scripts/release/process-release.ts +++ b/scripts/release/process-release.ts @@ -214,7 +214,7 @@ async function processRelease(): Promise { 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 });