mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
exit pre script with exit 0
This commit is contained in:
parent
cdc7e96db7
commit
f5ad5c80a8
@ -23,7 +23,7 @@ enter_pre_mode() {
|
|||||||
|
|
||||||
if $is_on_tag && $pre_json_exists && $is_on_pre_mode; then
|
if $is_on_tag && $pre_json_exists && $is_on_pre_mode; then
|
||||||
echo "You are already in pre mode for '$tag' on '$branch'"
|
echo "You are already in pre mode for '$tag' on '$branch'"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npx changeset pre exit
|
npx changeset pre exit
|
||||||
@ -42,7 +42,7 @@ exit_pre_mode() {
|
|||||||
|
|
||||||
if ! $needs_exit || ! $pre_json_exists; then
|
if ! $needs_exit || ! $pre_json_exists; then
|
||||||
echo "You are not in pre mode"
|
echo "You are not in pre mode"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npx changeset pre exit
|
npx changeset pre exit
|
||||||
@ -64,6 +64,6 @@ case "$BRANCH" in
|
|||||||
exit_pre_mode
|
exit_pre_mode
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
exit 1
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
Loading…
Reference in New Issue
Block a user