Fix .zip uploading to gcs as .tar.gz

This commit is contained in:
Asher 2020-03-04 16:51:58 -06:00
parent 7c65a54fcf
commit 4e6f6bc2cc
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -44,9 +44,9 @@ function package() {
echo "done (release/$archive_name)"
mkdir -p "./release-upload/$VERSION"
cp "./release/$archive_name$ext" "./release-upload/$VERSION/$target-$arch.tar.gz"
cp "./release/$archive_name$ext" "./release-upload/$VERSION/$target-$arch$ext"
mkdir -p "./release-upload/latest"
cp "./release/$archive_name$ext" "./release-upload/latest/$target-$arch.tar.gz"
cp "./release/$archive_name$ext" "./release-upload/latest/$target-$arch$ext"
}
# This script assumes that yarn has already ran.