Upload to nightly path and echo out some info

This commit is contained in:
Mikkel Hjortshoej
2020-04-15 19:58:11 +02:00
parent 802a776330
commit 1bd0e09ae1

View File

@@ -7,5 +7,7 @@ artifact=$2
now=$(date +'%Y-%m-%d')
filename="odin-$platform-nightly+$now.zip"
7z a "output/$filename" -r "$artifact"
b2 upload-file --noProgress "$bucket" "output/$filename" "$filename"
echo "Creating archive $filename from $artifact and uploading to $bucket"
7z a -bd "output/$filename" -r "$artifact"
b2 upload-file --noProgress "$bucket" "output/$filename" "nightly/$filename"