Skip to content

Commit d829981

Browse files
authored
Merge pull request #50 from aave/fix./mpsc0x/simplified-script
simplified publish script
2 parents dc590a4 + 0801252 commit d829981

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)