mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-13 00:58:32 +00:00
./build.sh upload build server artifacts
This commit is contained in:
parent
3c9165d295
commit
5981e42aed
9
build.sh
9
build.sh
@ -211,9 +211,14 @@ case "$1" in
|
|||||||
upload)
|
upload)
|
||||||
tag=$(git describe)
|
tag=$(git describe)
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
for f in *.tar.gz *.zip *.asc ; do
|
dir=$(mktemp -d -t syncthing-release)
|
||||||
relup syncthing/syncthing "$tag" "$f"
|
pushd $dir
|
||||||
|
curl -O 'http://build.syncthing.net/job/syncthing/lastSuccessfulBuild/artifact/*zip*/archive.zip'
|
||||||
|
unzip archive.zip
|
||||||
|
for f in archive/* ; do
|
||||||
|
echo relup syncthing/syncthing "$tag" "$f"
|
||||||
done
|
done
|
||||||
|
popd
|
||||||
;;
|
;;
|
||||||
|
|
||||||
deps)
|
deps)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user