gitignore release-upload

This commit is contained in:
Anmol Sethi 2020-04-28 14:14:38 -04:00
parent af28885ea6
commit 2dd27b4cb8
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,5 +4,6 @@ build
dist* dist*
out* out*
release/ release/
release-upload/
node_modules node_modules
binaries binaries

View File

@ -43,6 +43,7 @@ function package() {
echo "done (release/$archive_name)" echo "done (release/$archive_name)"
# release-upload is for uploading to the GCP bucket whereas release is used for GitHub.
mkdir -p "./release-upload/$VERSION" mkdir -p "./release-upload/$VERSION"
cp "./release/$archive_name$ext" "./release-upload/$VERSION/$target-$arch$ext" cp "./release/$archive_name$ext" "./release-upload/$VERSION/$target-$arch$ext"
mkdir -p "./release-upload/latest" mkdir -p "./release-upload/latest"