Skip to content

Commit

Permalink
fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray authored and kev1n-peters committed Oct 4, 2023
1 parent c823976 commit 5e49317
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- 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
- run: npm run build
- run: |
npm run build
cd wormhole-connect-loader
npm publish --tag $(echo $([ ${strarr[0]} == "production" ] && echo "latest" || echo ${strarr[0]})) --access public
env:
Expand Down

0 comments on commit 5e49317

Please sign in to comment.