diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 12a50ba..a50f595 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -105,7 +105,7 @@ jobs: mac-build: if: ${{ github.event.inputs.mac }} - runs-on: macos-11 # 10.15 is deprecated :( + runs-on: macos-10.15 # 10.15 is deprecated, but still seems to work? env: MACOSX_DEPLOYMENT_TARGET: "10.9" # it can't be this easy, but let's try steps: diff --git a/pdfstitcher_mac.spec b/pdfstitcher_mac.spec index 37a67fa..7d97245 100644 --- a/pdfstitcher_mac.spec +++ b/pdfstitcher_mac.spec @@ -2,6 +2,8 @@ import os from PyInstaller.utils.hooks import copy_metadata +import importlib.metadata +__version__ = importlib.metadata.version("pdfstitcher") block_cipher = None locale_paths = [] @@ -40,6 +42,7 @@ exe = EXE( debug=False, bootloader_ignore_signals=False, strip=False, + # target_arch='universal2', # not yet working, fails on Pillow upx=True, upx_exclude=[], runtime_tmpdir=None, @@ -50,7 +53,7 @@ app = BUNDLE( name="pdfstitcher.app", icon="pdfstitcher/resources/stitcher-icon.icns", bundle_identifier="org.pdfstitcher", - version="0.5", + version=f"{__version__}", info_plist={ "NSPrincipalClass": "NSApplication", "NSAppleScriptEnabled": False, diff --git a/pyproject.toml b/pyproject.toml index ec33f7e..23a6584 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pdfstitcher" -version = "0.7.1" +version = "0.7.2" description = "The open source PDF stitching software for sewists, by sewists." readme = "README.md" requires-python = ">=3.8, <3.11"