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 b835a0a commit 2d7561fCopy full SHA for 2d7561f
scripts/release.sh
@@ -16,18 +16,6 @@ fi
16
17
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
18
19
-if [[ $(git describe --exact-match 2> /dev/null || :) =~ -beta ]];
20
-then
21
- echo "Publishing packages"
22
- yarn run lerna publish from-git --yes # publish latest tagged commit
23
-
24
- if [[ ! $? -eq 0 ]];then
25
- exit 1;
26
- fi
27
-else
28
- echo "Did not publish packages"
29
-fi
30
31
if [[ $(git describe --exact-match 2> /dev/null || :) =~ -alpha ]];
32
then
33
echo "Publishing alpha"
@@ -38,5 +26,10 @@ then
38
exit 1;
39
fi
40
else
41
- 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;
34
+ fi
42
35
0 commit comments