File: update_manifests.sh

package info (click to toggle)
jacktrip 2.7.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,804 kB
  • sloc: cpp: 44,416; sh: 965; makefile: 152; ansic: 32; ruby: 20; python: 15
file content (20 lines) | stat: -rwxr-xr-x 360 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

EDGE_PLATFORMS="mac win"
STABLE_PLATFORMS="$EDGE_PLATFORMS linux"

function update_manifest {
	NAME="$1/$2-manifests.json"
	echo "Updating $NAME"
	curl -s -o "releases/$NAME" "https://files.jacktrip.org/app-releases/$NAME"
}

for x in $EDGE_PLATFORMS
do
	update_manifest edge $x
done

for y in $STABLE_PLATFORMS
do
	update_manifest stable $y
done