[PR #148] [MERGED] Add TestFlight 'What to Test' notes (betaBuildLocalizations) support #328

Closed
opened 2026-02-26 21:34:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/148
Author: @rudrankriyam
Created: 1/25/2026
Status: Merged
Merged: 1/25/2026
Merged by: @rudrankriyam

Base: mainHead: cursor/largest-issue-cli-support-59fb


📝 Commits (5)

  • 67f0283 Add beta build localization API support
  • 9c209b4 Add build test-notes CLI support
  • 86901ff Add pagination type check for beta build localizations
  • bfddb7b Merge pull request #149 from rudrankriyam/cursor/client-pagination-typeof-6568
  • fb9ede2 Increase default wait timeout for build notes.

📊 Changes

15 files changed (+1097 additions, -4 deletions)

View changed files

cmd/build_test_notes.go (+342 -0)
📝 cmd/builds_commands.go (+62 -2)
📝 cmd/commands_test.go (+68 -0)
📝 cmd/publish.go (+27 -2)
cmd/test_notes_helpers.go (+42 -0)
📝 internal/asc/client.go (+160 -0)
📝 internal/asc/client_http_test.go (+138 -0)
📝 internal/asc/client_options.go (+28 -0)
📝 internal/asc/client_pagination.go (+6 -0)
📝 internal/asc/client_queries.go (+13 -0)
📝 internal/asc/client_test.go (+22 -0)
📝 internal/asc/client_types.go (+1 -0)
📝 internal/asc/output_core.go (+12 -0)
📝 internal/asc/output_localizations.go (+47 -0)
📝 internal/asc/output_test.go (+129 -0)

📄 Description

Adds CLI commands for managing TestFlight "What to Test" notes and integrates this functionality into build upload and TestFlight publishing workflows.

Fixes #147

Changes

New asc builds test-notes command group

Full CRUD for beta build localizations:

asc builds test-notes list --build "BUILD_ID"
asc builds test-notes get --id "LOCALIZATION_ID"
asc builds test-notes create --build "BUILD_ID" --locale "en-US" --whats-new "Test instructions"
asc builds test-notes update --id "LOCALIZATION_ID" --whats-new "Updated instructions"
asc builds test-notes delete --id "LOCALIZATION_ID" --confirm

Integration with upload commands

Added --test-notes and --locale flags to:

  • asc builds upload (with --wait to wait for processing)
  • asc publish testflight
asc builds upload --app "APP_ID" --ipa app.ipa --test-notes "Test the new feature" --locale "en-US" --wait
asc publish testflight --app "APP_ID" --ipa app.ipa --group "GROUP_ID" --test-notes "Test instructions" --locale "en-US"

API client additions

  • GetBetaBuildLocalizations() - list localizations for a build
  • GetBetaBuildLocalization() - get single localization by ID
  • CreateBetaBuildLocalization() - create localization
  • UpdateBetaBuildLocalization() - update localization
  • DeleteBetaBuildLocalization() - delete localization

Note on naming

This is different from the existing build-localizations command which manages App Store release notes (appStoreVersionLocalizations). This PR adds support for TestFlight test notes (betaBuildLocalizations) - shown to testers in TestFlight.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/148 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 1/25/2026 **Status:** ✅ Merged **Merged:** 1/25/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `cursor/largest-issue-cli-support-59fb` --- ### 📝 Commits (5) - [`67f0283`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/67f02838aa1a8bdfedd981a3b3633aa4f418ebf5) Add beta build localization API support - [`9c209b4`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/9c209b45b436f7272ed1d965d3ce6de308fdd1e6) Add build test-notes CLI support - [`86901ff`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/86901ff1f82e51566a3f5955e70f726c59c7bd7c) Add pagination type check for beta build localizations - [`bfddb7b`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/bfddb7b342c45c5a9f78b8452a61be3abaa12d64) Merge pull request #149 from rudrankriyam/cursor/client-pagination-typeof-6568 - [`fb9ede2`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/fb9ede264b2598304bdeaf7090fc35b81c4bc810) Increase default wait timeout for build notes. ### 📊 Changes **15 files changed** (+1097 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `cmd/build_test_notes.go` (+342 -0) 📝 `cmd/builds_commands.go` (+62 -2) 📝 `cmd/commands_test.go` (+68 -0) 📝 `cmd/publish.go` (+27 -2) ➕ `cmd/test_notes_helpers.go` (+42 -0) 📝 `internal/asc/client.go` (+160 -0) 📝 `internal/asc/client_http_test.go` (+138 -0) 📝 `internal/asc/client_options.go` (+28 -0) 📝 `internal/asc/client_pagination.go` (+6 -0) 📝 `internal/asc/client_queries.go` (+13 -0) 📝 `internal/asc/client_test.go` (+22 -0) 📝 `internal/asc/client_types.go` (+1 -0) 📝 `internal/asc/output_core.go` (+12 -0) 📝 `internal/asc/output_localizations.go` (+47 -0) 📝 `internal/asc/output_test.go` (+129 -0) </details> ### 📄 Description Adds CLI commands for managing TestFlight "What to Test" notes and integrates this functionality into build upload and TestFlight publishing workflows. Fixes #147 ## Changes ### New `asc builds test-notes` command group Full CRUD for beta build localizations: ```bash asc builds test-notes list --build "BUILD_ID" asc builds test-notes get --id "LOCALIZATION_ID" asc builds test-notes create --build "BUILD_ID" --locale "en-US" --whats-new "Test instructions" asc builds test-notes update --id "LOCALIZATION_ID" --whats-new "Updated instructions" asc builds test-notes delete --id "LOCALIZATION_ID" --confirm ``` ### Integration with upload commands Added `--test-notes` and `--locale` flags to: - `asc builds upload` (with `--wait` to wait for processing) - `asc publish testflight` ```bash asc builds upload --app "APP_ID" --ipa app.ipa --test-notes "Test the new feature" --locale "en-US" --wait asc publish testflight --app "APP_ID" --ipa app.ipa --group "GROUP_ID" --test-notes "Test instructions" --locale "en-US" ``` ### API client additions - `GetBetaBuildLocalizations()` - list localizations for a build - `GetBetaBuildLocalization()` - get single localization by ID - `CreateBetaBuildLocalization()` - create localization - `UpdateBetaBuildLocalization()` - update localization - `DeleteBetaBuildLocalization()` - delete localization ## Note on naming This is different from the existing `build-localizations` command which manages **App Store release notes** (`appStoreVersionLocalizations`). This PR adds support for **TestFlight test notes** (`betaBuildLocalizations`) - shown to testers in TestFlight. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#328
No description provided.