Skip to content

Commit

Permalink
Fixup deprecation to specify exact version
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Dec 19, 2023
1 parent 828e355 commit 81a2f89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

- name: Deprecate the old package
run: |
npm deprecate stellar-sdk@latest "⚠️ This package has moved to @stellar/stellar-sdk! 🚚"
V=$(cat package.json | jq '.version' | sed -e 's/\"//g')
echo "Deprecating stellar-sdk@$V"
npm deprecate stellar-sdk@"<= $V"⚠️ This package has moved to @stellar/stellar-sdk! 🚚"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 81a2f89

Please sign in to comment.