Skip to content

Commit 0801252

Browse files
committed
simplified publish script
1 parent dc590a4 commit 0801252

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

scripts/publish.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,4 @@ PACKAGE_NAME=$(cat package.json | jq -r '.name')
77
PUBLISH_VERSION=$(cat package.json | jq -r '.version')
88
echo "Publishing ${PACKAGE_NAME}@$PUBLISH_VERSION"
99

10-
ref=$1
11-
TAG=""
12-
if [[ "$ref" == *"testnet"* ]]; then
13-
TAG="--tag testnet"
14-
elif [[ "$ref" == *"latest"* ]]; then
15-
TAG=""
16-
fi
17-
18-
pnpm publish --access public --no-git-checks $TAG
10+
npm publish --access public

0 commit comments

Comments
 (0)