mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2024-12-18 15:18:35 +00:00
fixes for generation script
This commit is contained in:
parent
ef2f938228
commit
b67e667462
@ -25,10 +25,12 @@ if [[ $major -ge 9 ]]; then
|
||||
fi
|
||||
|
||||
case $type in
|
||||
UBI|Minimal)
|
||||
suffix="-${type,,}" ;;
|
||||
*)
|
||||
suffix='';;
|
||||
UBI | Minimal)
|
||||
suffix="-${type,,}"
|
||||
;;
|
||||
*)
|
||||
suffix=''
|
||||
;;
|
||||
esac
|
||||
|
||||
declare -A shasums
|
||||
@ -41,7 +43,7 @@ for a in "${arches[@]}"; do
|
||||
done
|
||||
|
||||
cat <<EOF
|
||||
Tags: ${version}.${date}${suffix}, ${major}${suffix}, ${version}${suffix}
|
||||
Tags: ${version}.${date}${suffix}, ${version}${suffix}, ${major}${suffix}
|
||||
GitFetch: refs/heads/${name}-x86_64
|
||||
GitCommit: ${shasums[x86_64]}
|
||||
arm64v8-GitFetch: refs/heads/${name}-aarch64
|
||||
@ -52,4 +54,3 @@ ppc64le-GitFetch: refs/heads/${name}-ppc64le
|
||||
ppc64le-GitCommit: ${shasums[ppc64le]}
|
||||
Architectures: amd64, arm64v8, ppc64le, s390x
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user