File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,6 @@ if [[ "$BRANCH" =~ ^feature\/.*$ ]]; then
26
26
git config --global user.name " scalecube ci"
27
27
git tag -a v$VERSION -m " [skip ci]"
28
28
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
35
29
36
30
if [[ " $? " == 0 ]]; then
37
31
echo $MSG_PUBLISH_SUCCESS
@@ -50,7 +44,7 @@ elif [[ "$BRANCH" == "develop" ]] && [[ "$IS_PULL_REQUEST" == "false" ]]; then
50
44
# yarn lerna publish --canary --dist-tag next --preid develop.$(date +%s) --yes
51
45
ID=" develop.$( date +%s) "
52
46
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
54
48
55
49
if [[ " $? " == 0 ]]; then
56
50
echo $MSG_PUBLISH_SUCCESS
You can’t perform that action at this time.
0 commit comments