diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-25 12:54:16 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-25 12:54:16 +0200 |
commit | 97f15251c262dac6817f740f7448b6c07a948fa0 (patch) | |
tree | f73561f9a7f88ead90952c7f0236984860f0df89 /bin | |
parent | 24d0dda356897aa0d329843c3927c63e902fde79 (diff) | |
download | jenkins.debian.net-97f15251c262dac6817f740f7448b6c07a948fa0.tar.xz |
reproducible: new job to build /specs/source_date_epoch/ from source-date-epoch-spec.git
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_specs.sh | 26 |
1 files changed, 26 insertions, 0 deletions
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 <mattia@mapreri.org> +# Copyright © 2015 Holger Levsen <holger@mapreri.org> +# 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" + + |