ci(release): skip git status check in prep phase
This commit is contained in:
parent
37827d81e5
commit
9ffd997c3b
1 changed files with 7 additions and 5 deletions
|
@ -56,11 +56,13 @@ _check_cli() {
|
|||
}
|
||||
|
||||
_check_git() {
|
||||
# ensure that changes have been committed
|
||||
if [[ -n $(git status . -s) ]]; then
|
||||
echo "> Abort: Commit the staged files first, and then run this tool again."
|
||||
exit 1
|
||||
fi
|
||||
$opt_pre || (
|
||||
# ensure that changes have been committed
|
||||
if [[ -n $(git status . -s) ]]; then
|
||||
echo "> Abort: Commit the staged files first, and then run this tool again."
|
||||
exit 1
|
||||
fi
|
||||
)
|
||||
|
||||
$opt_pkg || (
|
||||
if [[ "$(git branch --show-current)" != "$RELEASE_BRANCH" ]]; then
|
||||
|
|
Loading…
Reference in a new issue