From a234cc980ae78e10fde56ea21f9cde207657970d Mon Sep 17 00:00:00 2001 From: Artur Sapek Date: Mon, 4 Mar 2024 10:19:10 -0500 Subject: [PATCH] fix reference in publish action --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e2df203fc..cca63c548 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,9 +25,9 @@ jobs: - run: npm run lint:ci - run: | IFS='@' read -a strarr <<< $(git describe --tags) - sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" wormhole-connect-loader/package.json + sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" wormhole-connect/package.json npm run build - cd wormhole-connect-loader + cd wormhole-connect npm publish --tag $(echo $([ ${strarr[0]} == "production" ] && echo "latest" || echo ${strarr[0]})) --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}