We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91c94cd commit 401aea8Copy full SHA for 401aea8
.github/workflows/edr-npm-release.yml
@@ -417,12 +417,12 @@ jobs:
417
run: pnpm artifacts
418
- name: Publish
419
run: |
420
- if git log -1 --pretty=%B | grep "^edr-[0-9]\+\.[0-9]\+\.[0-9]\+$";
+ if git log -1 --pretty=%B | grep "^edr-[0-9]\+\.[0-9]\+\.[0-9]\+\s*";
421
then
422
echo "Publishing release"
423
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
424
pnpm publish --no-git-checks --provenance --access public
425
- elif git log -1 --pretty=%B | grep "^edr-[0-9]\+\.[0-9]\+\.[0-9]\+";
+ elif git log -1 --pretty=%B | grep "^edr-[0-9]\+\.[0-9]\+\.[0-9]\+-";
426
427
echo "Publishing pre-release"
428
0 commit comments