File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ if [[ "$BRANCH" =~ ^feature\/.*$ ]]; then
25
25
git config --global user.email
" [email protected] "
26
26
git config --global user.name " scalecube ci"
27
27
git tag -a v$VERSION -m " [skip ci]"
28
- yarn lerna publish --loglevel debug --force-publish --no-git-tag-version --no-commit-hooks --canary --dist-tag snapshot --preid $ID --yes
28
+ yarn lerna publish --loglevel debug --force-publish --no-git-tag-version --no-commit-hooks --canary --dist-tag snapshot --pre-dist-tag snapshot -- preid $ID --yes
29
29
30
30
if [[ " $? " == 0 ]]; then
31
31
echo $MSG_PUBLISH_SUCCESS
@@ -45,12 +45,14 @@ elif [[ "$BRANCH" == "develop" ]] && [[ "$IS_PULL_REQUEST" == "false" ]]; then
45
45
ID=" develop.$( date +%s) "
46
46
VERSION=$( jq -r .version lerna.json)
47
47
git fetch --tags
48
+ git tag -a v$VERSION -m " [skip ci]"
48
49
49
- yarn lerna publish --loglevel debug --force-publish --no-git-tag-version --no-commit-hooks --canary --dist-tag snapshot --preid $ID --yes
50
+ # yarn lerna publish --loglevel debug --force-publish --no-git-tag-version --no-commit-hooks --canary --dist-tag develop --pre-dist-tag develop --preid $ID --yes
51
+ yarn lerna publish prerelease --force-publish --preid $ID --pre-dist-tag develop --yes
50
52
51
53
if [[ " $? " == 0 ]]; then
52
54
echo $MSG_PUBLISH_SUCCESS
53
- bash ./verify.sh $ID
55
+ bash scripts/ ./verify.sh $ID .0
54
56
else
55
57
echo $MSG_PUBLISH_FAIL
56
58
fi
You can’t perform that action at this time.
0 commit comments