[PR #542] [MERGED] build(release): strip release binaries with -s -w #604

Closed
opened 2026-02-26 22:31:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/542
Author: @rudrankriyam
Created: 2/14/2026
Status: Merged
Merged: 2/14/2026
Merged by: @rudrankriyam

Base: mainHead: chore/release-strip-ldflags


📝 Commits (1)

  • a90330c build(release): strip binaries in release workflow

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 .github/workflows/release.yml (+5 -5)

📄 Description

Summary

  • update .github/workflows/release.yml to add -s -w to release go build -ldflags for macOS, Linux, and Windows artifacts
  • keep version metadata injection (main.version, main.commit, main.date) unchanged
  • reduce release artifact size and improve cold-start command latency without changing CLI behavior

Test plan

  • pre-commit hooks passed on commit (make format, make lint, and repository short test suite)
  • verified only workflow file changed in this PR
  • no runtime CLI code paths modified

🔄 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/542 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/14/2026 **Status:** ✅ Merged **Merged:** 2/14/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `chore/release-strip-ldflags` --- ### 📝 Commits (1) - [`a90330c`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/a90330cf64b3e9d8d1c4556e0b7a5c84654ef618) build(release): strip binaries in release workflow ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+5 -5) </details> ### 📄 Description ## Summary - update `.github/workflows/release.yml` to add `-s -w` to release `go build` `-ldflags` for macOS, Linux, and Windows artifacts - keep version metadata injection (`main.version`, `main.commit`, `main.date`) unchanged - reduce release artifact size and improve cold-start command latency without changing CLI behavior ## Test plan - [x] pre-commit hooks passed on commit (`make format`, `make lint`, and repository short test suite) - [x] verified only workflow file changed in this PR - [x] no runtime CLI code paths modified --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:44 +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#604
No description provided.