Skip to content

Commit

Permalink
fix(deploy): change path
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Aug 9, 2021
1 parent 9d6ea10 commit 128bc7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion npm-ci-publish-beta-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ then
echo "cannot publish non-beta version"
else
echo "version is beta, using --tag next"
npx lerna publish from-package --contents lib --dist-tag next --yes
npx lerna publish from-package --contents ./ --dist-tag next --yes
fi

rm .npmrc
4 changes: 2 additions & 2 deletions npm-ci-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ VERSION=$(node -pe 'JSON.parse(process.argv[1]).version.indexOf("beta")' "$(cat

if [ "$VERSION" = "-1" ]
then
npx lerna publish from-package --contents lib --yes
npx lerna publish from-package --contents ./ --yes
else
echo "version is beta, using --tag next"
npx lerna publish from-package --contents lib --dist-tag next --yes
npx lerna publish from-package --contents ./ --dist-tag next --yes
fi

rm .npmrc

0 comments on commit 128bc7b

Please sign in to comment.