File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ version=${1:-'v3-prerelease'}
77
88# Ensure git stage is clear
99if [[ $( git status --porcelain) ]]; then
10- echo " Your git status is not clean." ;
10+ echo " Your git status is not clean. Please commit your changes before running this script." ;
11+ echo " To reset all your changes, run this instead: git reset --hard HEAD"
1112 exit 1;
1213else
1314 echo " Git status is clean. Proceeding with the script." ;
@@ -23,7 +24,7 @@ echo "Running: pnpm run build --filter \"@trigger.dev/*\" --filter \"trigger.dev
2324pnpm run build --filter " @trigger.dev/*" --filter " trigger.dev"
2425
2526echo " Going to run: pnpm exec changeset publish --no-git-tag --snapshot --tag $version "
26- read -p " Do you wish to continue? (Y/n ): " prompt
27+ read -p " Do you wish to continue? (y/N ): " prompt
2728if [[ $prompt =~ [yY](es)* ]]; then
2829 pnpm exec changeset publish --no-git-tag --snapshot --tag $version
2930else
You can’t perform that action at this time.
0 commit comments