We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c138c5 commit 636af20Copy full SHA for 636af20
1 file changed
update.sh
@@ -85,9 +85,15 @@ command -v jq >/dev/null 2>&1 || { echo >&2 "'jq' is required but not found. Abo
85
[ -n "${BASH_VERSINFO}" ] && [ -n "${BASH_VERSINFO[0]}" ] && [ ${BASH_VERSINFO[0]} -ge 4 ] \
86
|| { echo >&2 "Bash 4.0 or greater is required. Aborting."; exit 1; }
87
88
+# Create variants
89
+printf '%s\n' "{}" > versions.json
90
+
91
latest="$(curl -fsSL "https://www.phpmyadmin.net/home_page/version.json" | jq -r '.version')"
92
sha256="$(curl -fsSL "$(download_url "$latest").sha256" | cut -f1 -d ' ' | tr -cd 'a-f0-9' | cut -c 1-64)"
93
94
for variant in "${variants[@]}"; do
95
create_variant "$variant" "$latest" "$sha256"
96
done
97
98
+# Cleanup the file as for now it's not wanted in the repository
99
+rm versions.json
0 commit comments