summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_howto.sh
blob: e850e1c959cee3dc817c86a1e890fdc7b7ed0b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

# Copyright © 2015 Mattia Rizzolo <mattia@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')

make html

mkdir -pv "$BASE/howto/"

mv -v html/* "$BASE/howto"

irc_message "$REPRODUCIBLE_URL/howto updated to $VERSION"