mac build: add "set -e"
for sanity... re touching these files: not sure they are really needed (but the ~/Library/Python/ and ~/.pyenv folders are no longer there on the build machine)
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Parameterize
|
# Parameterize
|
||||||
PYTHON_VERSION=3.7.9
|
PYTHON_VERSION=3.7.9
|
||||||
BUILDDIR=/tmp/electrum-build
|
BUILDDIR=/tmp/electrum-build
|
||||||
@@ -154,11 +156,7 @@ info "Building $PACKAGE..."
|
|||||||
python3 -m pip install --no-dependencies --no-warn-script-location . > /dev/null || fail "Could not build $PACKAGE"
|
python3 -m pip install --no-dependencies --no-warn-script-location . > /dev/null || fail "Could not build $PACKAGE"
|
||||||
|
|
||||||
info "Faking timestamps..."
|
info "Faking timestamps..."
|
||||||
for d in ~/Library/Python/ ~/.pyenv .; do
|
find . -exec touch -t '200101220000' {} + || true
|
||||||
pushd "$d"
|
|
||||||
find . -exec touch -t '200101220000' {} +
|
|
||||||
popd
|
|
||||||
done
|
|
||||||
|
|
||||||
VERSION=`git describe --tags --dirty --always`
|
VERSION=`git describe --tags --dirty --always`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user