Skip to content

Commit

Permalink
fix: filenames from goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawkyZ committed Nov 4, 2024
1 parent 45d818c commit 7df3353
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/upload-to-s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function uploadFile() {
uploadFile $FILENAME_SRC $FILENAME_DST $DRY_RUN
copyOrDownloadToTemp $FILENAME_SRC "$FILENAME_DST" $DRY_RUN

FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_darwin_arm64/snyk-ls"
FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_darwin_arm64_v8.0/snyk-ls"
FILENAME_DST="snyk-ls_${VERSION}_darwin_arm64"
# shellcheck disable=SC2086
uploadFile $FILENAME_SRC $FILENAME_DST $DRY_RUN
Expand All @@ -80,19 +80,19 @@ function uploadFile() {
uploadFile $FILENAME_SRC $FILENAME_DST $DRY_RUN
copyOrDownloadToTemp $FILENAME_SRC "$FILENAME_DST" $DRY_RUN

FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_linux_386/snyk-ls"
FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_linux_386_sse2/snyk-ls"
FILENAME_DST="snyk-ls_${VERSION}_linux_386"
# shellcheck disable=SC2086
uploadFile $FILENAME_SRC $FILENAME_DST $DRY_RUN
copyOrDownloadToTemp $FILENAME_SRC "$FILENAME_DST" $DRY_RUN

FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_linux_arm64/snyk-ls"
FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_linux_arm64_v8.0/snyk-ls"
FILENAME_DST="snyk-ls_${VERSION}_linux_arm64"
# shellcheck disable=SC2086
uploadFile $FILENAME_SRC $FILENAME_DST $DRY_RUN
copyOrDownloadToTemp $FILENAME_SRC "$FILENAME_DST" $DRY_RUN

FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_windows_386/snyk-ls.exe"
FILENAME_SRC="$SCRIPT_DIR/../build/snyk-ls_windows_386_sse2/snyk-ls.exe"
FILENAME_DST="snyk-ls_${VERSION}_windows_386.exe"
# shellcheck disable=SC2086
uploadFile $FILENAME_SRC $FILENAME_DST $DRY_RUN
Expand Down

0 comments on commit 7df3353

Please sign in to comment.