From e213ffeb68cd82535ed9020154b581aac40e73e6 Mon Sep 17 00:00:00 2001 From: junners Date: Fri, 31 May 2024 22:34:11 -0700 Subject: [PATCH] chore: use sed to substitute package version --- .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 f95278b..8170e80 100644 --- a/.github/workflows/deploy-BETA.yml +++ b/.github/workflows/deploy-BETA.yml @@ -48,7 +48,7 @@ jobs: echo $original_npm_package_version export npm_package_version=$(npx semver $original_npm_package_version --increment patch --coerce) echo $npm_package_version - - run: sed -e 's/($original_npm_package_version)/"($npm_package_version)"/g' package.json + - run: sed -e "s/${original_npm_package_version}/'${npm_package_version}'/g" package.json - run: cat package.json # - run: | # git commit -am "ci: update package json to $npm_package_version [skip ci]"