From ed76f297bd8727f6788233ea1bbe046ea38952b3 Mon Sep 17 00:00:00 2001 From: junners Date: Fri, 31 May 2024 22:36:04 -0700 Subject: [PATCH] chore: change sed flags to use in place --- .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 8170e80..a9db305 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 -i "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]"