iOS publish.sh: send the tag, not the title, as tag_name

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-18 15:03:51 -08:00
1 parent 4ae6136847
commit c33079c96a
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ git diff --quiet HEAD || die "uncommitted changes"
git push -q -u origin $BRANCH
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 \
'{tag_name:$n, target_commitish:$c, name:$n, body:$b, prerelease:$p}' |
'{tag_name:$t, target_commitish:$c, name:$n, body:$b, prerelease:$p}' |
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 -X POST --data-binary @$IPA "$UP/api/upload/ipa$Q"