From f227dfebbd9b2a5fd507ac3f3e4c8eaae271164f Mon Sep 17 00:00:00 2001 From: Pooyan Khanjankhani Date: Thu, 28 Dec 2023 21:39:13 +0330 Subject: [PATCH] publish to npm unconditionally --- .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 f0592bd..03a2ab7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: echo "current branch version: $version, current upstream version: $latest" - echo "should-publish=$([[ $version > $latest ]] && echo -n 'true' || echo -n 'false')" >> $GITHUB_OUTPUT + echo "should-publish='true'" >> $GITHUB_OUTPUT - run: npm publish name: Publish to npm