Skip to content

Commit

Permalink
copy readme when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
artursapek committed Mar 4, 2024
1 parent 13451f7 commit 7a0fbfd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 412 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
IFS='@' read -a strarr <<< $(git describe --tags)
sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" wormhole-connect/package.json
npm run build
cp README.md wormhole-connect/
cp wormhole-connect.png wormhole-connect/
cd wormhole-connect
npm publish --tag $(echo $([ ${strarr[0]} == "production" ] && echo "latest" || echo ${strarr[0]})) --access public
env:
Expand Down
Loading

0 comments on commit 7a0fbfd

Please sign in to comment.