summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_howto.sh
blob: 5af2bdbcdc5e1a46cccf06e2f72483ab246cd2d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

# build and publish the html version
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"