mac build: call "git describe" without "--dirty"
as we dirty the git clone ourselves, well the locale submodule, when we rm the .po files
This commit is contained in:
@@ -208,7 +208,8 @@ find "$VENV_DIR/lib/python$PY_VER_MAJOR/site-packages/" -type f -name '*.so' -pr
|
||||
info "Faking timestamps..."
|
||||
find . -exec touch -t '200101220000' {} + || true
|
||||
|
||||
VERSION=$(git describe --tags --dirty --always)
|
||||
# note: no --dirty, as we have dirtied electrum/locale/ ourselves.
|
||||
VERSION=$(git describe --tags --always)
|
||||
|
||||
info "Building binary"
|
||||
ELECTRUM_VERSION=$VERSION pyinstaller --noconfirm --clean contrib/osx/pyinstaller.spec || fail "Could not build binary"
|
||||
|
||||
@@ -59,7 +59,8 @@ function DoCodeSignMaybe { # ARGS: infoName fileOrDirName
|
||||
codesign -f -v $deep -s "$CODESIGN_CERT" $hardened_arg "$file" || fail "Could not code sign ${infoName}"
|
||||
}
|
||||
|
||||
VERSION=$(git describe --tags --dirty --always)
|
||||
# note: no --dirty, as we have dirtied electrum/locale/ ourselves.
|
||||
VERSION=$(git describe --tags --always)
|
||||
|
||||
DoCodeSignMaybe "app bundle" "dist/${PACKAGE}.app"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user