[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: also detect versions of packages of 'any' arch
Holger Levsen
holger at layer-acht.org
Wed Nov 29 15:52:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 2809fddeaab44349e9078e07a2c108e3f5866310
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 29 15:52:24 2017 +0000
reproducible Arch Linux: also detect versions of packages of 'any' arch
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_archlinux.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 725923d..219a2aa 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -57,7 +57,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
# else it's too error prone and in future the version will
# be determined during build anyway...
ARTIFACT="$(ls $ARCHLINUX_PKG_PATH/*.pkg.tar.xz.html 2>/dev/null)"
- VERSION=$( basename $ARTIFACT | sed -s "s#$PKG-##" | sed -s "s#-x86_64.pkg.tar.xz.html##" )
+ VERSION=$( basename $ARTIFACT | sed -s "s#$PKG-##" | sed -E -s "s#-(x86_64|any).pkg.tar.xz.html##" )
else
VERSION="0.rb-unknown-1"
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list