File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ BUCKET="$5"
1010
1111source " $CONFIG_FILE "
1212
13+ BASEDIR=" $CHANNEL "
14+ if [ " $ARCH " != " amd64" ]; then
15+ BASEDIR=" $CHANNEL -$ARCH "
16+ fi
17+
1318echo -e "
1419#----------------------#
1520# INSTALL DEPENDENCIES #
@@ -30,9 +35,9 @@ ISOPATHS="$(find builds -name "*.iso")"
3035while IFS= read -r ISOPATH; do
3136 SHAPATH=" ${ISOPATH% .* } .sha256.txt"
3237 MD5PATH=" ${ISOPATH% .* } .md5.txt"
33- ISO=" $CHANNEL /$( basename " $ISOPATH " ) "
34- SHASUM=" $CHANNEL /$( basename " $SHAPATH " ) "
35- MD5=" $CHANNEL /$( basename " $MD5PATH " ) "
38+ ISO=" $BASEDIR /$( basename " $ISOPATH " ) "
39+ SHASUM=" $BASEDIR /$( basename " $SHAPATH " ) "
40+ MD5=" $BASEDIR /$( basename " $MD5PATH " ) "
3641 echo " uploading $ISO ..."
3742 python3 upload.py " $KEY " " $SECRET " " $ENDPOINT " " $BUCKET " " $ISOPATH " " $ISO " || exit 1
3843 echo " uploading $SHASUM ..."
You can’t perform that action at this time.
0 commit comments