From 3e5c615fb8c9832cb48f21b5c0ed2cc6db773cf7 Mon Sep 17 00:00:00 2001 From: Bam4d Date: Mon, 15 Jan 2024 15:42:27 +0100 Subject: [PATCH] not sure if this works on linux? --- .github/workflows/build_publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index 05e579f..a6f9a52 100644 --- a/.github/workflows/build_publish.yaml +++ b/.github/workflows/build_publish.yaml @@ -69,7 +69,7 @@ jobs: run: | echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc npm version ${{ github.ref_name }} - sed -i '' -e 's/VERSION = '\''0.0.1'\''/VERSION = '\''${{ github.ref_name }}'\''/g' src/client.js + sed -i 's/VERSION = '\''0.0.1'\''/VERSION = '\''${{ github.ref_name }}'\''/g' src/client.js npm publish \ No newline at end of file