Skip to content

Commit

Permalink
update version only
Browse files Browse the repository at this point in the history
  • Loading branch information
bangtoven committed Nov 20, 2023
1 parent 58a325c commit 74ccade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions scripts/publish-canary.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ RUN yarn install

RUN yarn release -- canary

RUN cd packages/wallet-sdk

RUN npm pack
RUN npm pack -w @coinbase/wallet-sdk
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ elif [[ " $* " == *" canary "* ]]; then
cd ./packages/wallet-sdk
timestamp=$(date +%s)
newVersion=$(jq -r '.version' package.json)"-canary.$timestamp"
jq ".version = \"$newVersion\" | .name = \"@cbhq/wallet-sdk\"" package.json > temp.json && \
jq ".version = \"$newVersion\"" package.json > temp.json && \
mv temp.json package.json
echo "Canary version updated to $newVersion"

Expand Down

0 comments on commit 74ccade

Please sign in to comment.