Skip to content

Commit e76fdf4

Browse files
authored
hotfix develop release
1 parent a6759a1 commit e76fdf4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/publish.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ if [[ "$BRANCH" =~ ^feature\/.*$ ]]; then
2626
git config --global user.name "scalecube ci"
2727
git tag -a v$VERSION -m "[skip ci]"
2828
yarn lerna publish --loglevel debug --force-publish --no-git-tag-version --no-commit-hooks --canary --dist-tag snapshot --preid $ID --yes
29-
#yarn lerna publish prerelease --no-commit-hooks --dist-tag snapshot --preid $ID --yes -m '[skip ci]' --no-git-tag-version --no-push
30-
# --no-git-tag-version "turns off" all git operations for `lerna version`
31-
#yarn lerna version ${VERSION}-${ID} --no-git-tag-version --exact --force-publish --yes
32-
# "from-package" is the only bump argument for `lerna publish` that does not require git
33-
#yarn lerna publish from-package --yes
34-
#yarn lerna publish ${VERSION}-${ID} --no-git-tag-version --force-publish --yes
3529

3630
if [[ "$?" == 0 ]]; then
3731
echo $MSG_PUBLISH_SUCCESS
@@ -50,7 +44,7 @@ elif [[ "$BRANCH" == "develop" ]] && [[ "$IS_PULL_REQUEST" == "false" ]]; then
5044
#yarn lerna publish --canary --dist-tag next --preid develop.$(date +%s) --yes
5145
ID="develop.$(date +%s)"
5246
git fetch --tags
53-
yarn lerna publish prerelease --no-commit-hooks --dist-tag next --preid $ID --yes -m '[skip ci]' --no-git-tag-version --no-push
47+
yarn lerna publish prepatch --no-commit-hooks --dist-tag next --preid $ID --yes -m '[skip ci]' --no-git-tag-version --no-push
5448

5549
if [[ "$?" == 0 ]]; then
5650
echo $MSG_PUBLISH_SUCCESS

0 commit comments

Comments
 (0)