Skip to content

Commit 3945ce7

Browse files
committed
chore: updated to patch release dry run in release.sh
1 parent 900686d commit 3945ce7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ echo "Doing a release..."
1717
LOG=$(git log --format="%s" -1 | grep -Poe "#\d+")
1818
PR_NUM=${LOG:1}
1919

20-
yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt
20+
#yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt
21+
# Patch release
22+
#yarn run lerna publish patch --dist-tag=prerelease-patch --no-private --yes 2>&1 | tee lerna-output.txt
2123

2224
# use lerna command below for dry run
2325
#yarn run lerna version prerelease --preid=prerelease --yes --no-git-tag-version --no-push | tee lerna-output.txt
26+
# use lerna command below for dry run for patch release
27+
yarn run lerna version patch --yes --no-git-tag-version --no-push --no-private | tee lerna-output.txt
2428

2529
if grep -i "Successfully published" lerna-output.txt; # Leave a Github comment
2630
then

0 commit comments

Comments
 (0)