We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1790434 commit 82b484cCopy full SHA for 82b484c
scripts/publish.sh
@@ -24,18 +24,6 @@ fi
24
25
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
26
27
-if [[ $(git describe --exact-match 2> /dev/null || :) =~ -beta ]];
28
-then
29
- echo "Publishing packages"
30
- yarn run lerna publish from-git --yes # publish latest tagged commit
31
-
32
- if [[ ! $? -eq 0 ]];then
33
- exit 1;
34
- fi
35
-else
36
- echo "Did not publish packages"
37
-fi
38
39
if [[ $(git describe --exact-match 2> /dev/null || :) =~ -alpha ]];
40
then
41
echo "Publishing alpha"
@@ -46,5 +34,10 @@ then
46
exit 1;
47
fi
48
else
49
- echo "Did not publish alpha"
+ echo "Publishing packages"
+ yarn run lerna publish from-git --yes # publish latest tagged commit
+
+ if [[ ! $? -eq 0 ]];then
+ exit 1;
42
+ fi
50
43
0 commit comments