iOS 0.11.0 (build 67): Eze-style v<version> tags, source.json lists org.cdnutter.stemify

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-12-04 12:42:21 -08:00
1 parent 5344bbfd21
commit 8d3251dbc5
5 files changed
+18 -18

No files matched your search

+1
View File
@@ -33,3 +33,4 @@
2026-11-09 iOS: dev builds (`ios/scripts/build-remote.sh dev`): bundle id org.cdnutter.stemify-dev, "Stemify Dev", own App Group, into ios/build/dev. Internal tests only, never on Gitea or Sideload. 2026-11-09 iOS: dev builds (`ios/scripts/build-remote.sh dev`): bundle id org.cdnutter.stemify-dev, "Stemify Dev", own App Group, into ios/build/dev. Internal tests only, never on Gitea or Sideload.
2026-11-09 iOS: Duo unfolded redesign. Tabs move to a rail on the right edge by the status bar, Now Playing fills the screen with stems and queue on the left and the player on the right, picking a tab swaps the left pane, Swap flips the sides (remembered). Folded screen unchanged. 2026-11-09 iOS: Duo unfolded redesign. Tabs move to a rail on the right edge by the status bar, Now Playing fills the screen with stems and queue on the left and the player on the right, picking a tab swaps the left pane, Swap flips the sides (remembered). Folded screen unchanged.
2026-11-09 iOS: build-remote.sh now builds dev + prov by default; public only with `public`. 2026-11-09 iOS: build-remote.sh now builds dev + prov by default; public only with `public`.
2026-12-04 iOS 0.11.0 (build 67): public build is org.cdnutter.stemify (was -pub, reinstall needed), build modes public|dev|signed, tags v<version> like Eze. Playlist create/delete, Stem playlist sorting/rename/cover/mix/copy to Plex, cover cropper, continuous Random Album Radio, lyrics Vocals/Softness turn karaoke on, softer icon glow, Duo orientation and Now Playing drag fixes.
+2 -2
View File
@@ -352,8 +352,8 @@ xcodegen generate # or open Stemify.xcodeproj in Xcode
There are three builds. Public and signed share a bundle ID, dev installs beside them: There are three builds. Public and signed share a bundle ID, dev installs beside them:
- `org.cdnutter.stemify` (build/public): releases from `main`. `scripts/publish.sh public` tags `ios-v<version>`, uploads the IPA to Gitea and Sideload, and regenerates `ios/source.json`. - `org.cdnutter.stemify` (build/public): releases from `main`. `scripts/publish.sh public` tags `v<version>`, uploads the IPA to Gitea and Sideload, and regenerates `ios/source.json`.
- `org.cdnutter.stemify-dev` (build/dev): ribbon icon, built from the `dev` branch. `scripts/publish.sh dev` makes a Gitea pre-release `ios-v<version>-dev.<build>` and uploads it to Sideload Developer. Bump `CURRENT_PROJECT_VERSION` for each one. - `org.cdnutter.stemify-dev` (build/dev): ribbon icon, built from the `dev` branch. `scripts/publish.sh dev` makes a Gitea pre-release `v<version>-dev.<build>` and uploads it to Sideload Developer. Bump `CURRENT_PROJECT_VERSION` for each one.
- `org.cdnutter.stemify` (build/signed, file ends `-signed`): signed with the personal profile in `ios/prov/` so CarPlay and Siri work. Never published. - `org.cdnutter.stemify` (build/signed, file ends `-signed`): signed with the personal profile in `ios/prov/` so CarPlay and Siri work. Never published.
The version lives in `ios/project.yml` (`VERSION_LABEL`, `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION`). The version lives in `ios/project.yml` (`VERSION_LABEL`, `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION`).
+3 -3
View File
@@ -7,9 +7,9 @@ settings:
base: base:
SWIFT_VERSION: "5.0" SWIFT_VERSION: "5.0"
# iOS needs a plain number for the bundle version; the label is what the app and releases show. # iOS needs a plain number for the bundle version; the label is what the app and releases show.
MARKETING_VERSION: "0.10.1" MARKETING_VERSION: "0.11.0"
VERSION_LABEL: "0.10.1" VERSION_LABEL: "0.11.0"
CURRENT_PROJECT_VERSION: "66" CURRENT_PROJECT_VERSION: "67"
# Dev builds override these (build-ipa.sh dev) so they install next to the release app. # Dev builds override these (build-ipa.sh dev) so they install next to the release app.
APP_ID: org.cdnutter.stemify APP_ID: org.cdnutter.stemify
APP_NAME: Stemify APP_NAME: Stemify
+4 -4
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Writes ios/source.json, an AltStore source (SideStore and Feather read it too), from the """Writes ios/source.json, an AltStore source (SideStore and Feather read it too), from the
ios-v* releases on Gitea. Only releases with a stemify-<version>.ipa are listed, since older v* releases on Gitea (org.cdnutter.stemify). The older ios-v* releases were org.cdnutter.stemify-pub
ones used a different bundle ID. Set GITEA_TOKEN if the repo is private.""" and are left out. Set GITEA_TOKEN if the repo is private."""
import json, os, re, urllib.request import json, os, re, urllib.request
REPO = "https://gitea.iamchrisama.com/cdnutter/stemify" REPO = "https://gitea.iamchrisama.com/cdnutter/stemify"
@@ -34,10 +34,10 @@ builds[slug] = re.search(r'CURRENT_PROJECT_VERSION: "(.*)"', yml)[1]
versions = [] versions = []
for rel in get(API + "/releases?limit=50"): for rel in get(API + "/releases?limit=50"):
v = rel["tag_name"].removeprefix("ios-v") v = rel["tag_name"].removeprefix("v")
ipa = next((a for a in rel["assets"] if a["name"] == f"stemify-{v}.ipa"), None) ipa = next((a for a in rel["assets"] if a["name"] == f"stemify-{v}.ipa"), None)
# Pre-releases are dev builds (org.cdnutter.stemify-dev), they go to Sideload Developer instead. # Pre-releases are dev builds (org.cdnutter.stemify-dev), they go to Sideload Developer instead.
if not rel["tag_name"].startswith("ios-v") or not ipa or rel["prerelease"]: if not rel["tag_name"].startswith("v") or not ipa or rel["prerelease"]:
continue continue
versions.append({ versions.append({
"version": v.split("-")[0], "version": v.split("-")[0],
+8 -9
View File
@@ -1,32 +1,31 @@
#!/bin/bash #!/bin/bash
# Publishes an IPA built by build-remote.sh. Run from DevOps with everything committed. # Publishes an IPA built by build-remote.sh. Run from DevOps with everything committed.
# publish.sh dev on the dev branch: Gitea pre-release ios-v<v>-dev.<build> + Sideload Developer (WHITE-M1 :8093, ?source=dev) # publish.sh dev on the dev branch: Gitea pre-release v<v>-dev.<build> + iOS Repos /dev (WHITE-M1 :8093, ?source=dev)
# publish.sh public on main, only when the owner says so: Gitea release ios-v<v> + Personal (:8093, ?source=personal), then source.json # publish.sh public on main, only when the owner says so: Gitea release v<v> + iOS Repos /personal (:8093, ?source=personal), then source.json
# Release notes come from $NOTES, else the last commit subject. signed builds are never published. # Release notes come from $NOTES, else the last commit subject. signed builds are never published.
set -euo pipefail set -euo pipefail
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."
MODE=${1:-}; NAME=stemify; TAGP=ios-v MODE=${1:-}; NAME=stemify; TAGP=v
API=https://gitea.iamchrisama.com/api/v1/repos/cdnutter/stemify API=https://gitea.iamchrisama.com/api/v1/repos/cdnutter/stemify
T=$(sed -n 's#.*://cdnutter:\([^@]*\)@.*#\1#p' ~/.config/gitea/cdnutter.credentials | head -1) T=$(sed -n 's#.*://cdnutter:\([^@]*\)@.*#\1#p' ~/.config/gitea/cdnutter.credentials | head -1)
V=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g') V=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')
BUILD=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml) BUILD=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml)
LABEL=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml)
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
die() { echo "$*" >&2; exit 1; } die() { echo "$*" >&2; exit 1; }
case $MODE in case $MODE in
dev) WANT=dev; IPA=build/dev/$NAME-$V-dev.ipa; TAG=$TAGP$V-dev.$BUILD; TITLE="Stemify iOS $LABEL Dev Build $BUILD"; PRE=true; UP=http://10.0.0.11:8093; Q='?source=dev' ;; dev) WANT=dev; IPA=build/dev/$NAME-$V-dev.ipa; TAG=$TAGP$V-dev.$BUILD; PRE=true; UP=http://10.0.0.11:8093; Q='?source=dev' ;;
public) WANT=main; IPA=build/public/$NAME-$V.ipa; TAG=$TAGP$V; TITLE="Stemify iOS $LABEL"; PRE=false; UP=http://10.0.0.11:8093; Q='?source=personal' ;; public) WANT=main; IPA=build/public/$NAME-$V.ipa; TAG=$TAGP$V; PRE=false; UP=http://10.0.0.11:8093; Q='?source=personal' ;;
*) die "usage: $0 dev|public" ;; *) die "usage: $0 dev|public" ;;
esac esac
[ "$BRANCH" = "$WANT" ] || die "$MODE builds publish from $WANT (on $BRANCH)" [ "$BRANCH" = "$WANT" ] || die "$MODE builds publish from $WANT (on $BRANCH)"
[ -f "$IPA" ] || die "missing $IPA, run scripts/build-remote.sh $MODE" [ -f "$IPA" ] || die "missing $IPA, run scripts/build-remote.sh $MODE"
git diff --quiet HEAD || die "uncommitted changes" git diff --quiet HEAD || die "uncommitted changes"
[ "$(curl -s -o /dev/null -w '%{http_code}' -H "Authorization: token $T" $API/releases/tags/$TAG)" = 404 ] \ [ "$(curl -s -o /dev/null -w '%{http_code}' -H "Authorization: token $T" $API/releases/tags/$TAG)" = 404 ] \
|| die "$TAG already exists, bump CURRENT_PROJECT_VERSION (dev) or VERSION_LABEL (release)" || die "$TAG already exists, bump CURRENT_PROJECT_VERSION (dev) or VERSION_LABEL (public)"
git push -q -u origin $BRANCH git push -q -u origin $BRANCH
BODY=${NOTES:-$(git log -1 --format=%s)} BODY=${NOTES:-$(git log -1 --format=%s)}
ID=$(jq -n --arg t "$TAG" --arg n "$TITLE" --arg c "$(git rev-parse HEAD)" --arg b "$BODY" --argjson p $PRE \ ID=$(jq -n --arg t "$TAG" --arg c "$(git rev-parse HEAD)" --arg b "$BODY" --argjson p $PRE \
'{tag_name:$t, target_commitish:$c, name:$n, body:$b, prerelease:$p}' | '{tag_name:$t, target_commitish:$c, name:$t, body:$b, prerelease:$p}' |
curl -fsS -H "Authorization: token $T" -H 'Content-Type: application/json' -d @- $API/releases | jq -r .id) curl -fsS -H "Authorization: token $T" -H 'Content-Type: application/json' -d @- $API/releases | jq -r .id)
curl -fsS -o /dev/null -H "Authorization: token $T" -F "attachment=@$IPA" "$API/releases/$ID/assets?name=$(basename $IPA)" curl -fsS -o /dev/null -H "Authorization: token $T" -F "attachment=@$IPA" "$API/releases/$ID/assets?name=$(basename $IPA)"
curl -fsS -o /dev/null -X POST --data-binary @$IPA "$UP/api/upload/ipa$Q" curl -fsS -o /dev/null -X POST --data-binary @$IPA "$UP/api/upload/ipa$Q"