Bump to 1.1 and read version from built app in CI
Build iOS App / Build .ipa and publish source (push) Successful in 23s

SideStore only shows an update when the version changes; the previous build
stayed at 1.0 so no update appeared. Bump MARKETING_VERSION to 1.1 and have
the workflow read CFBundleShortVersionString from the built app's Info.plist
instead of a hardcoded VERSION, so the metadata can never drift from the
pbxproj again.
This commit is contained in:
Hermes committed 2026-08-12 18:01:35 +00:00
1 parent b2311d8007
commit 43f4d76356
2 files changed
+12 -5

No files matched your search

+8 -1
View File
@@ -54,9 +54,16 @@ jobs:
- name: Generate app metadata
run: |
VERSION="1.0"
# Read the version from the built app's Info.plist so it can never
# drift from MARKETING_VERSION in the pbxproj. SideStore only shows an
# update when the version changes, so a stale hardcoded version here
# silently hides new builds.
APP_PATH=$(find build/Build/Products -name "*.app" -type d | head -1)
VERSION=$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "$APP_PATH/Info.plist")
BUILD=$(/usr/libexec/PlistBuddy -c "Print :CFBundleVersion" "$APP_PATH/Info.plist")
SIZE=$(stat -f%z $APP_NAME.ipa)
DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
echo "version=$VERSION build=$BUILD"
# Per-app metadata file. The perlis aggregator folds this into the
# root source.json at https://apps.bueso.eu/source.json.
cat > $APP_NAME.json <<EOF