Skip to content

Commit

Permalink
chore: Update release.sh to turn off dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Dec 6, 2023
1 parent 5bf08bd commit 81fd0bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ echo "Doing a release..."
LOG=$(git log --format="%s" -1 | grep -Poe "#\d+")
PR_NUM=${LOG:1}

# yarn run lerna publish patch --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt
yarn run lerna publish patch --yes 2>&1 | tee lerna-output.txt

# use lerna command below for dry run
yarn run lerna version patch --yes --no-git-tag-version --no-push | tee lerna-output.txt
# yarn run lerna version patch --yes --no-git-tag-version --no-push | tee lerna-output.txt

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

0 comments on commit 81fd0bd

Please sign in to comment.