Skip to content

Commit

Permalink
download zip file via curl
Browse files Browse the repository at this point in the history
  • Loading branch information
naraesk authored Jan 18, 2023
1 parent 01ba0f6 commit 6a09470
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/run-teamscale-upload.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

if [[ "$OS" == "Windows" ]]; then
unzip teamscale-upload-windows.zip;
curl -L https://github.com/cqse/teamscale-upload/releases/download/v2.6.0/teamscale-upload-windows.zip -o teamscale-upload.zip
unzip teamscale-upload.zip;
else
wget -O teamscale-upload.zip https://github.com/cqse/teamscale-upload/releases/download/v2.6.0/teamscale-upload-linux.zip;
unzip teamscale-upload.zip
Expand Down

0 comments on commit 6a09470

Please sign in to comment.