From 97f15251c262dac6817f740f7448b6c07a948fa0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 25 Aug 2015 12:54:16 +0200 Subject: reproducible: new job to build /specs/source_date_epoch/ from source-date-epoch-spec.git --- bin/reproducible_html_specs.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 bin/reproducible_html_specs.sh (limited to 'bin/reproducible_html_specs.sh') diff --git a/bin/reproducible_html_specs.sh b/bin/reproducible_html_specs.sh new file mode 100755 index 00000000..0a8ff888 --- /dev/null +++ b/bin/reproducible_html_specs.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# Copyright © 2015 Mattia Rizzolo +# Copyright © 2015 Holger Levsen +# released under the GPLv=2 + +DEBUG=false +. /srv/jenkins/bin/common-functions.sh +common_init "$@" + +. /srv/jenkins/bin/reproducible_common.sh + +set -e + +VERSION=$(git log -1 --pretty='%h') +SPEC=$1 + +make html + +mkdir -pv "$BASE/specs/$1" + +mv -v html/* "$BASE/specs/$1" + +irc_message "$REPRODUCIBLE_URL/specs/$1 updated to $VERSION" + + -- cgit v1.2.3-54-g00ecf