Fix .zip uploading to gcs as .tar.gz
This commit is contained in:
parent
7c65a54fcf
commit
4e6f6bc2cc
|
@ -44,9 +44,9 @@ function package() {
|
||||||
echo "done (release/$archive_name)"
|
echo "done (release/$archive_name)"
|
||||||
|
|
||||||
mkdir -p "./release-upload/$VERSION"
|
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"
|
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.
|
# This script assumes that yarn has already ran.
|
||||||
|
|
Loading…
Reference in New Issue