From 6d79eb8b12a8cef3f3561297b1aa0ed5c961de43 Mon Sep 17 00:00:00 2001 From: junners Date: Fri, 31 May 2024 22:16:11 -0700 Subject: [PATCH] chore: force use semver --- .github/workflows/deploy-BETA.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-BETA.yml b/.github/workflows/deploy-BETA.yml index 675fed7..5dbb9bf 100644 --- a/.github/workflows/deploy-BETA.yml +++ b/.github/workflows/deploy-BETA.yml @@ -44,7 +44,7 @@ jobs: git config --global user.email ${{ vars.USER_EMAIL }} - run: npm i -D semver node-jq - run: export original_npm_package_version=$(npx node-jq ".version" package.json) - - run: export npm_package_version=$(semver $original_npm_package_version --increment patch --coerce) + - run: export npm_package_version=$(npx semver $original_npm_package_version --increment patch --coerce) - run: sed -i 's/$original_npm_package_version/"$npm_package_version"/g' package.json - run: cat package.json # - run: |