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:
1 parent
4ae6136847
commit
c33079c96a
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user