Skip to content

Commit b48e069

Browse files
authored
hotfix develop release
1 parent e76fdf4 commit b48e069

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/publish.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ elif [[ "$BRANCH" == "develop" ]] && [[ "$IS_PULL_REQUEST" == "false" ]]; then
4343
git checkout develop
4444
#yarn lerna publish --canary --dist-tag next --preid develop.$(date +%s) --yes
4545
ID="develop.$(date +%s)"
46+
VERSION=$(jq -r .version lerna.json)
4647
git fetch --tags
47-
yarn lerna publish prepatch --no-commit-hooks --dist-tag next --preid $ID --yes -m '[skip ci]' --no-git-tag-version --no-push
48+
49+
yarn lerna publish --loglevel debug --force-publish --no-git-tag-version --no-commit-hooks --canary --dist-tag snapshot --preid $ID --yes
4850

4951
if [[ "$?" == 0 ]]; then
5052
echo $MSG_PUBLISH_SUCCESS

0 commit comments

Comments
 (0)