build: win/mac: rename pyinstaller spec files
for clarity also, "deterministic.spec" is a confusing name
This commit is contained in:
@@ -62,7 +62,7 @@ rm -rf dist/
|
|||||||
|
|
||||||
# build standalone and portable versions
|
# build standalone and portable versions
|
||||||
info "Running pyinstaller..."
|
info "Running pyinstaller..."
|
||||||
ELECTRUM_CMDLINE_NAME="$NAME_ROOT-$VERSION" wine "$WINE_PYHOME/scripts/pyinstaller.exe" --noconfirm --clean deterministic.spec
|
ELECTRUM_CMDLINE_NAME="$NAME_ROOT-$VERSION" wine "$WINE_PYHOME/scripts/pyinstaller.exe" --noconfirm --clean pyinstaller.spec
|
||||||
|
|
||||||
# set timestamps in dist, in order to make the installer reproducible
|
# set timestamps in dist, in order to make the installer reproducible
|
||||||
pushd dist
|
pushd dist
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ find . -exec touch -t '200101220000' {} + || true
|
|||||||
VERSION=$(git describe --tags --dirty --always)
|
VERSION=$(git describe --tags --dirty --always)
|
||||||
|
|
||||||
info "Building binary"
|
info "Building binary"
|
||||||
ELECTRUM_VERSION=$VERSION pyinstaller --noconfirm --clean contrib/osx/osx.spec || fail "Could not build binary"
|
ELECTRUM_VERSION=$VERSION pyinstaller --noconfirm --clean contrib/osx/pyinstaller.spec || fail "Could not build binary"
|
||||||
|
|
||||||
info "Finished building unsigned dist/${PACKAGE}.app. This hash should be reproducible:"
|
info "Finished building unsigned dist/${PACKAGE}.app. This hash should be reproducible:"
|
||||||
find "dist/${PACKAGE}.app" -type f -print0 | sort -z | xargs -0 shasum -a 256 | shasum -a 256
|
find "dist/${PACKAGE}.app" -type f -print0 | sort -z | xargs -0 shasum -a 256 | shasum -a 256
|
||||||
|
|||||||
Reference in New Issue
Block a user