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'}
7
7
8
8
# Ensure git stage is clear
9
9
if [[ $( 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"
11
12
exit 1;
12
13
else
13
14
echo " Git status is clean. Proceeding with the script." ;
@@ -23,7 +24,7 @@ echo "Running: pnpm run build --filter \"@trigger.dev/*\" --filter \"trigger.dev
23
24
pnpm run build --filter " @trigger.dev/*" --filter " trigger.dev"
24
25
25
26
echo " 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
27
28
if [[ $prompt =~ [yY](es)* ]]; then
28
29
pnpm exec changeset publish --no-git-tag --snapshot --tag $version
29
30
else
You can’t perform that action at this time.
0 commit comments