Update scripts

This commit is contained in:
Taiki Endo
2025-02-21 23:48:30 +09:00
parent 2dbeb927f5
commit 38c7691f46
3 changed files with 37 additions and 39 deletions

View File

@@ -22,7 +22,7 @@ set -x
has_update=''
for manifest in manifests/*.json; do
git add -N "${manifest}"
if ! git diff --exit-code -- "${manifest}"; then
if ! git diff --exit-code -- "${manifest}" &>/dev/null; then
name="${manifest##*/}"
name="${name%.*}"
git stash