diff --git a/ios/scripts/publish.sh b/ios/scripts/publish.sh index 0605e33..cefa29d 100755 --- a/ios/scripts/publish.sh +++ b/ios/scripts/publish.sh @@ -1,7 +1,7 @@ #!/bin/bash # 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-dev. + Sideload Developer (WHITE-M1 :8093, ?source=developer) -# publish.sh release on main, only when the owner says so: Gitea release ios-v + Sideload (:8093), then source.json +# publish.sh release on main, only when the owner says so: Gitea release ios-v + Personal (:8093, ?source=personal), then source.json # Release notes come from $NOTES, else the last commit subject. prov builds are never published. set -euo pipefail cd "$(dirname "$0")/.." @@ -14,7 +14,7 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD) die() { echo "$*" >&2; exit 1; } case $MODE in 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=developer' ;; - release) WANT=main; IPA=build/release/$NAME-$V.ipa; TAG=$TAGP$V; PRE=false; UP=http://10.0.0.11:8093; Q= ;; + release) WANT=main; IPA=build/release/$NAME-$V.ipa; TAG=$TAGP$V; PRE=false; UP=http://10.0.0.11:8093; Q='?source=personal' ;; *) die "usage: $0 dev|release" ;; esac [ "$BRANCH" = "$WANT" ] || die "$MODE builds publish from $WANT (on $BRANCH)"