aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-03 20:48:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-03 20:49:29 +0000
commitfebbe6d4357f777b79b2fa0d80aaca3e77d34dec (patch)
treef8031c6a1c7245fbe2252a47ec184ac561cdd178 /main
parente71b209d948fa9f52751a6a05a7208d001d19a79 (diff)
downloadaports-febbe6d4357f777b79b2fa0d80aaca3e77d34dec.tar.bz2
aports-febbe6d4357f777b79b2fa0d80aaca3e77d34dec.tar.xz
main/aports-build: upload latest-releases.yaml if it exists
Diffstat (limited to 'main')
-rw-r--r--main/aports-build/APKBUILD10
-rw-r--r--main/aports-build/aports-build6
2 files changed, 10 insertions, 6 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD
index 124d2144be..9bf07e27c9 100644
--- a/main/aports-build/APKBUILD
+++ b/main/aports-build/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aports-build
-pkgver=0.6
-pkgrel=2
+pkgver=0.7
+pkgrel=0
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="http://alpinelinux.org"
arch="noarch"
@@ -39,12 +39,12 @@ package() {
"$pkgdir"/etc/conf.d/aports-build || return 1
}
-md5sums="e3aecf9b43607646e154de430517fdbf aports-build
+md5sums="982706003f6e1994ff7621efed2b4b42 aports-build
784238e965ca025c0c6ed13c8af01613 aports-build.initd
711d8f441b97c54a9561c08925d16d75 aports-build.confd"
-sha256sums="493040e52324529d8d7e3bb9243788484d9f52a2bb63f9081ac87c00f24c8df5 aports-build
+sha256sums="2c1e3bfd2ab6687c1ed90dcfe1814f660b6cc52dfaeaf7783d93a247dfcd31cd aports-build
88215b5969e5ffeda549c6e31de4563569ddee2ac3220c381d40f382d43f8323 aports-build.initd
e14940240ffac141b98903214af858c93a36b5a9f133b97a81871f9d56efff6b aports-build.confd"
-sha512sums="8f418758b955b1eea67e9d48e4c4f7aa1a6c3230871c5f4bf1a15349dd07cae7d74a84ffeec1e59c94b2568f8549e63dcb47a22552710184ba53c3908b13e97d aports-build
+sha512sums="527a6e52bcf506f03059055865a7ab785f7fc65114e252639165d209228c9a389c8f9a425958ad3dea3ab25a962629e91239b2c8568de1a45681430ea453e216 aports-build
2ef2fa6de4118209ab93a56216f106ac32078df762f4d67e900976c28bea96d44806f4679ef966472a3eb05fdaf1648aab17c0eaa897e8a06b1272766f29d22b aports-build.initd
60c62f25834fce29df73b0e64b733c8b9bbd362c130d04ba33f8dbf042b6b7fbb6193beb84ba9c811b3aef1997675bbb3eeedbbf935e4ae005370c4b4a013d26 aports-build.confd"
diff --git a/main/aports-build/aports-build b/main/aports-build/aports-build
index 8c972a9220..f7d5b22fc9 100644
--- a/main/aports-build/aports-build
+++ b/main/aports-build/aports-build
@@ -65,6 +65,7 @@ send_irc() {
new_release() {
local new=$1
local target="all-release"
+ local yaml=latest-releases.yaml
if [ "$rel" = "edge" ]; then
target="edge"
fi
@@ -78,7 +79,10 @@ new_release() {
fi
sh mklatest.sh || return 1
mkdir -p "$upload_iso"
- rsync -ruv .latest.txt *"$new"* "$upload_iso" || return 1
+ if ! [ -e "$yaml" ]; then
+ yaml=""
+ fi
+ rsync -ruv $yaml .latest.txt *"$new"* "$upload_iso" || return 1
sudo apk del .alpine-release
mv current previous
return 0