diff --git a/clients/algoliasearch-client-java-2/.github/workflows/release.yml b/clients/algoliasearch-client-java-2/.github/workflows/release.yml index bc2fa6fe24..c211d3c36c 100644 --- a/clients/algoliasearch-client-java-2/.github/workflows/release.yml +++ b/clients/algoliasearch-client-java-2/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: release: name: Publish to Sonatype runs-on: ubuntu-20.04 - if: "startsWith(github.event.head_commit.message, 'chore: release v')" + if: "startsWith(github.event.head_commit.message, 'chore: release')" env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/clients/algoliasearch-client-javascript/.github/workflows/release.yml b/clients/algoliasearch-client-javascript/.github/workflows/release.yml index 737ff18b84..f1d6464220 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.head_commit.message, 'chore: release v')" + if: "startsWith(github.event.head_commit.message, 'chore: release')" steps: - uses: actions/checkout@v2 with: