mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +00:00
ci(release): skip git status check in prep phase
This commit is contained in:
parent
37827d81e5
commit
9ffd997c3b
@ -56,11 +56,13 @@ _check_cli() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_check_git() {
|
_check_git() {
|
||||||
# ensure that changes have been committed
|
$opt_pre || (
|
||||||
if [[ -n $(git status . -s) ]]; then
|
# ensure that changes have been committed
|
||||||
echo "> Abort: Commit the staged files first, and then run this tool again."
|
if [[ -n $(git status . -s) ]]; then
|
||||||
exit 1
|
echo "> Abort: Commit the staged files first, and then run this tool again."
|
||||||
fi
|
exit 1
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
$opt_pkg || (
|
$opt_pkg || (
|
||||||
if [[ "$(git branch --show-current)" != "$RELEASE_BRANCH" ]]; then
|
if [[ "$(git branch --show-current)" != "$RELEASE_BRANCH" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user