Skip to content

Commit 636af20

Browse files
committed
Revert "Auxiliary commit to revert individual files from d10b78c"
This reverts commit f5606d330139fca0dcb6ab97ac4826c5cbed1803.
1 parent 1c138c5 commit 636af20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

update.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,15 @@ command -v jq >/dev/null 2>&1 || { echo >&2 "'jq' is required but not found. Abo
8585
[ -n "${BASH_VERSINFO}" ] && [ -n "${BASH_VERSINFO[0]}" ] && [ ${BASH_VERSINFO[0]} -ge 4 ] \
8686
|| { echo >&2 "Bash 4.0 or greater is required. Aborting."; exit 1; }
8787

88+
# Create variants
89+
printf '%s\n' "{}" > versions.json
90+
8891
latest="$(curl -fsSL "https://www.phpmyadmin.net/home_page/version.json" | jq -r '.version')"
8992
sha256="$(curl -fsSL "$(download_url "$latest").sha256" | cut -f1 -d ' ' | tr -cd 'a-f0-9' | cut -c 1-64)"
9093

9194
for variant in "${variants[@]}"; do
9295
create_variant "$variant" "$latest" "$sha256"
9396
done
97+
98+
# Cleanup the file as for now it's not wanted in the repository
99+
rm versions.json

0 commit comments

Comments
 (0)