Statistics
| Branch: | Tag: | Revision:

trustedintents / make-release-build @ 94eb9967

History | View | Annotate | Download (421 Bytes)

1
#!/bin/bash
2
# bash is required because we need bash's printf to guarantee a cross-platform
3
# timestamp format.
4

    
5
set -e
6
set -x
7

    
8
# standardize timezone to reduce build differences
9
export TZ=UTC
10
# run the clock at 5% speed, ant requires a moving clock
11
TIMESTAMP=`printf '@%(%Y-%m-%d %H:%M:%S)T x0.05' \
12
    $(git log -n1 --format=format:%at)`
13

    
14
git reset --hard
15
git clean -fdx
16

    
17
cd trustedintents
18
./setup-ant
19

    
20
ant release-all