update dvd filename for the leapmicro6.0 and new productcompose
This commit is contained in:
parent
b90eadba25
commit
97c645d38c
@ -6,12 +6,13 @@ logfile_base=~/publish_logs/$micro_version/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
||||
synclog="${logfile_base}.log"
|
||||
deletelog="${logfile_base}-deletes.log"
|
||||
path="/distribution/leap-micro/$micro_version/product"
|
||||
flavors=(DVD-x86_64 DVD-aarch64)
|
||||
flavors=(x86_64 aarch64)
|
||||
|
||||
# Leap-Micro-6.0-aarch64-Build13.1.iso is the filename by 000productcompose
|
||||
get_version() {
|
||||
# get expected version from first flavor
|
||||
if [ -z "$version" ]; then
|
||||
version=`echo $stage/iso/openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build[0123456789]*.[0123456789]*-Media.iso`
|
||||
version=`echo $stage/iso/Leap-Micro-$micro_version$qu-$flavor-Build[0123456789]*.[0123456789]*.iso`
|
||||
version=${version##*Build}
|
||||
version=${version%-*}
|
||||
if [ -z "$version" ]; then
|
||||
@ -23,12 +24,13 @@ get_version() {
|
||||
|
||||
get_iso()
|
||||
{
|
||||
iso="openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build$version-Media.iso"
|
||||
# Leap-Micro-6.0-aarch64-Build13.1.iso
|
||||
iso="Leap-Micro-$micro_version$qu-$flavor-Build$version.iso"
|
||||
}
|
||||
|
||||
get_iso_link()
|
||||
{
|
||||
link="$stage/iso/openSUSE-Leap-$micro_version$qu-$flavor-Current.iso"
|
||||
link="$stage/iso/Leap-$micro_version$qu-$flavor-Current.iso"
|
||||
}
|
||||
|
||||
get_diff_url()
|
||||
|
Loading…
x
Reference in New Issue
Block a user