File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,15 @@ command -v jq >/dev/null 2>&1 || { echo >&2 "'jq' is required but not found. Abo
85
85
[ -n " ${BASH_VERSINFO} " ] && [ -n " ${BASH_VERSINFO[0]} " ] && [ ${BASH_VERSINFO[0]} -ge 4 ] \
86
86
|| { echo >&2 " Bash 4.0 or greater is required. Aborting." ; exit 1; }
87
87
88
+ # Create variants
89
+ printf ' %s\n' " {}" > versions.json
90
+
88
91
latest=" $( curl -fsSL " https://www.phpmyadmin.net/home_page/version.json" | jq -r ' .version' ) "
89
92
sha256=" $( curl -fsSL " $( download_url " $latest " ) .sha256" | cut -f1 -d ' ' | tr -cd ' a-f0-9' | cut -c 1-64) "
90
93
91
94
for variant in " ${variants[@]} " ; do
92
95
create_variant " $variant " " $latest " " $sha256 "
93
96
done
97
+
98
+ # Cleanup the file as for now it's not wanted in the repository
99
+ rm versions.json
You can’t perform that action at this time.
0 commit comments