1
0

Allow to build older commits

This commit is contained in:
Johann Bauer
2017-12-12 23:07:07 +01:00
parent 9966dc3b0c
commit bea62865d2
2 changed files with 9 additions and 5 deletions

View File

@@ -3,10 +3,6 @@
NAME_ROOT=electrum
PYTHON_VERSION=3.5.4
if [ "$#" -gt 0 ]; then
BRANCH="$1"
fi
# These settings probably don't need any change
export WINEPREFIX=/opt/wine64
export PYTHONDONTWRITEBYTECODE=1
@@ -43,6 +39,10 @@ done
popd
pushd electrum
if [ ! -z "$1" ]; then
git checkout $1
fi
VERSION=`git describe --tags`
echo "Last commit: $VERSION"
find -exec touch -d '2000-11-11T11:11:11+00:00' {} +