Skip to content

Commit

Permalink
publish version v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
longngn committed Feb 12, 2025
1 parent 85faa30 commit 499b0b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minswap/sdk",
"version": "0.3.4",
"version": "0.4.0",
"description": "Query Minswap data and build transactions",
"type": "module",
"types": "./build/index.d.ts",
Expand Down
5 changes: 1 addition & 4 deletions scripts/pump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ echo "update version field"
jq ".version = \"$version\"" <package.json >package.json.tmp
mv package.json.tmp package.json

jq ".version = \"$version\"" <package-lock.json >package-lock.json.tmp
mv package-lock.json.tmp package-lock.json

echo "build"
npm run build

echo "publish"
npm publish --access public

echo "commit new version"
git add package.json package-lock.json
git add package.json
git commit -m "publish version v$version"

echo "tag version"
Expand Down

0 comments on commit 499b0b8

Please sign in to comment.