From 38eedaab752b6dd974797911fc3e923128ac1731 Mon Sep 17 00:00:00 2001 From: Mitja Cotic Date: Wed, 24 Apr 2024 16:11:06 +0200 Subject: [PATCH] ci: allow same version when publishing to npm --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b43d411..a4f3258 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ jobs: echo version: $VERSION npm ci && npm run build - npm version $VERSION --no-git-tag-version + npm version $VERSION --no-git-tag-version --allow-same-version if [[ $VERSION =~ $REG_TAG ]]; then npm publish -f elif [[ $VERSION =~ $REG_TAG_ALPHA ]]; then