Skip to content

Commit 25ba640

Browse files
authored
Merge pull request #1101 from meilisearch/update_condition_in_publish_ci
Fix condition in publish ci
2 parents e20e957 + b9cfbc2 commit 25ba640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Build meilisearch-js
2020
run: yarn build
2121
- name: Publish with latest tag
22-
if: "github.event.release.release"
22+
if: "!github.event.release.prerelease"
2323
run: npm publish .
2424
env:
2525
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)