aboutsummaryrefslogtreecommitdiffstats
path: root/main/aports-build
diff options
context:
space:
mode:
Diffstat (limited to 'main/aports-build')
-rw-r--r--main/aports-build/APKBUILD8
-rw-r--r--main/aports-build/aports-build8
2 files changed, 8 insertions, 8 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD
index 3d4e3009e7..f99d4c491a 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.9
-pkgrel=0
+pkgrel=1
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="http://alpinelinux.org"
arch="noarch"
@@ -44,12 +44,12 @@ package() {
}
-md5sums="28f467dd244de934b7bc6a4a76b17227 aports-build
+md5sums="47ab3e00e8efd9a6fb93ce1b29e62830 aports-build
4ca3699a6df13cc937b267a28207b572 aports-build.initd
c02d90b2bb0c48e416b707caa8766c50 mqtt-exec.aports-build.confd"
-sha256sums="bad4ba5d231709ff3ac85aec9f45c8a3ad0d28b6d1ddffa38fd5f2f7e5debae4 aports-build
+sha256sums="eb5345f20450c9c38f7b39dbd2c62f2d32e58b1605778cc9c014b3acce695dc3 aports-build
a4a8756bc10d27219f5d569b2ea12450c864be439dac1fccb2b79dd374dd525a aports-build.initd
7d2001688c3776ffb53c422dee424bcf0346ae20f3df5c6c2f4944022b19cb4d mqtt-exec.aports-build.confd"
-sha512sums="75b6ab26e050db67b1ba2fbee3e231e3c988acd737fb0f3eb14ae65910a1912ad60c2ac56fa8fac5155922ab0a1c48ec394788349f070d7ce4c48b7c74f7cc03 aports-build
+sha512sums="9ad63905762c0d708e7714b5af03c87605968149e7305ef800ea0e697f83c486d3ab8f0d801e2426119c18c9c98075e6cc923ce0d45239805cd10d5251c4108d aports-build
e5bb9b219a5e03cc594bd1ffe064d9c531f2dc2f50b4cdf66014c49e9dc42b04133968dda0da0b3d572663523ba47a1d77a945f220a85e699930590bf163739c aports-build.initd
93d26e2055dbb02e863bf76b64a549c100decec3fda612ce96ca1464e6d61befa9f57f202553a25cf323e67e266f532d19c7423ff070943a59b3973946d949fe mqtt-exec.aports-build.confd"
diff --git a/main/aports-build/aports-build b/main/aports-build/aports-build
index 7ccbe03d10..8bc1befd60 100644
--- a/main/aports-build/aports-build
+++ b/main/aports-build/aports-build
@@ -66,6 +66,7 @@ new_release() {
local new=$1
local target="all-release"
local yaml=latest-releases.yaml
+ local txt=.latest.txt
if [ "$rel" = "edge" ]; then
target="edge"
fi
@@ -79,10 +80,9 @@ new_release() {
fi
sh mklatest.sh || return 1
ssh $upload_host mkdir -p "${upload_iso#${upload_host}:}"
- if ! [ -e "$yaml" ]; then
- yaml=""
- fi
- rsync -ruv $yaml .latest.txt *"$new"* "$upload_iso" || return 1
+ [ -e "$yaml" ] || yaml=""
+ [ -e "$txt" ] || txt=""
+ rsync -ruv $yaml $txt *"$new"* "$upload_iso" || return 1
sudo apk del .alpine-release
mv current previous
return 0