mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #430] [MERGED] Rename release assets to follow GitHub CLI naming convention #521
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#521
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/430
Author: @rudrankriyam
Created: 2/6/2026
Status: ✅ Merged
Merged: 2/6/2026
Merged by: @rudrankriyam
Base:
main← Head:rename-release-assets📝 Commits (2)
340a7dcRename release assets to follow GitHub CLI naming convention8fa1f7aAdd unit tests for asset naming, OS mapping, and checksum parsing📊 Changes
8 files changed (+278 additions, -34 deletions)
View changed files
📝
.github/workflows/main-branch.yml(+7 -7)📝
.github/workflows/pr-checks.yml(+5 -5)📝
.github/workflows/release.yml(+14 -10)📝
internal/update/download.go(+18 -6)➕
internal/update/download_test.go(+227 -0)📝
internal/update/integration_test.go(+1 -1)📝
internal/update/update.go(+1 -1)📝
internal/update/update_test.go(+5 -4)📄 Description
Summary
asc-darwin-arm64style toasc_VERSION_macOS_arm64style, following the GitHub CLI naming conventiondarwin→macOSso downloads are immediately recognizable by platform (biggest readability win)internal/update), Homebrew tap formula, and all CI workflows to matchBefore (0.24.2)
asc-darwin-amd64asc-darwin-arm64asc-linux-amd64asc-linux-arm64asc-windows-amd64.exechecksums.txtAfter (next release)
asc_0.25.0_macOS_amd64asc_0.25.0_macOS_arm64asc_0.25.0_linux_amd64asc_0.25.0_linux_arm64asc_0.25.0_windows_amd64.exeasc_0.25.0_checksums.txtFiles changed
internal/update/download.goassetName()now takes a version param, mapsdarwin→macOS, uses underscores. NewdisplayOS()helper. Checksums filename is versioned.internal/update/update.golatestVersiontodownloadAndReplace()internal/update/update_test.gointernal/update/integration_test.goassetName()call updated with version param.github/workflows/release.yml.github/workflows/pr-checks.ymldevversion).github/workflows/main-branch.ymldevversion)Test plan
go test -short ./...)go build ./...)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.