diff options
Diffstat (limited to 'tools/deploy/get-latest-builds.sh')
-rwxr-xr-x | tools/deploy/get-latest-builds.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/deploy/get-latest-builds.sh b/tools/deploy/get-latest-builds.sh deleted file mode 100755 index fc3046d..0000000 --- a/tools/deploy/get-latest-builds.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -echo Get build information -curl -o project-meta.json -H "Content-Type: application/json" https://ci.appveyor.com/api/projects/XianNox/smolbote-hg - -commit=$(jq -r .build.commitId project-meta.json) -echo Build commit: $commit - -for (( i=0; i<$(jq -r '.build.jobs | length' project-meta.json); i++ )) -do - jobId=$(jq -r .build.jobs[$i].jobId project-meta.json) - osType=$(jq -r .build.jobs[$i].osType project-meta.json) - - echo Downloading $jobId-$osType - curl -o smolbote-nightly-$commit-$osType.7z -L https://ci.appveyor.com/api/buildjobs/$jobId/artifacts/smolbote.7z - - echo Extracting package - 7za x smolbote-nightly-$commit-$osType.7z smolbote-install/bin - mv smolbote-nightly-$commit-$osType.7z serve/ - mv smolbote-install/bin serve/smolbote-$commit-$osType - rm -r smolbote-install -done - |