Tweak scripts

This commit is contained in:
Taiki Endo
2023-08-10 21:39:38 +09:00
parent b7354d4598
commit f0c993f6eb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ set -x
for manifest in manifests/*.json; do
git add -N "${manifest}"
if ! git diff --exit-code -- "${manifest}"; then
name="$(basename "${manifest%.*}")"
name=$(basename "${manifest%.*}")
git stash
old_version=$(jq -r '.latest.version' "${manifest}")
git stash pop