aboutsummaryrefslogtreecommitdiff
path: root/tools/deploy/get-latest-builds.sh
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-01-03 18:04:08 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-01-03 20:24:29 +0200
commit23a7f3baa33265519840609dc54e950615ec39b1 (patch)
treeff2737f76b63a2acf5f8a9fffd5c15e3eb4c46c8 /tools/deploy/get-latest-builds.sh
parentWebProfile refactoring (diff)
downloadsmolbote-23a7f3baa33265519840609dc54e950615ec39b1.tar.xz
Merge some QoL improvements from staging branch
- Build executable in top-level buildroot - Use meson sourceset - Pull in poi-crash and poi-update from staging - Remove extraneous scripts in tools/ - Pull in configure scripts in scripts/
Diffstat (limited to 'tools/deploy/get-latest-builds.sh')
-rwxr-xr-xtools/deploy/get-latest-builds.sh23
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
-