Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: strip branded binaries #36641

Merged
merged 1 commit into from
Dec 13, 2022
Merged

Conversation

robertgzr
Copy link
Contributor

Description of Change

When creating branded release builds and using scripts/strip-binaries.py
on Linux, the final artifacts end up unstripped due to the static set of
binaries considered for stripping.
With this patch the name of the electron binary is taken from the
BRANDING.json project_name key.

Checklist

Release Notes

Notes: Fix binary stripping for branded release builds on Linux

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Dec 12, 2022
When creating branded release builds and using scripts/strip-binaries.py
on Linux, the final artifacts end up unstripped due to the static set of
binaries considered for stripping.
With this patch the name of the electron binary is taken from the
BRANDING.json `project_name` key.

Signed-off-by: Robert Günzler <r@gnzler.io>
@nornagon nornagon added target/21-x-y PR should also be added to the "21-x-y" branch. target/22-x-y PR should also be added to the "22-x-y" branch. target/23-x-y PR should also be added to the "23-x-y" branch. semver/none labels Dec 13, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Dec 13, 2022
@nornagon nornagon added semver/patch backwards-compatible bug fixes and removed semver/none labels Dec 13, 2022
@jkleinsc jkleinsc merged commit ab890fb into electron:main Dec 13, 2022
@welcome
Copy link

welcome bot commented Dec 13, 2022

Congrats on merging your first pull request! 🎉🎉🎉

@release-clerk
Copy link

release-clerk bot commented Dec 13, 2022

Release Notes Persisted

Fix binary stripping for branded release builds on Linux

@trop
Copy link
Contributor

trop bot commented Dec 13, 2022

I have automatically backported this PR to "22-x-y", please check out #36654

@trop
Copy link
Contributor

trop bot commented Dec 13, 2022

I have automatically backported this PR to "21-x-y", please check out #36655

@trop trop bot added in-flight/22-x-y and removed target/22-x-y PR should also be added to the "22-x-y" branch. target/21-x-y PR should also be added to the "21-x-y" branch. labels Dec 13, 2022
@trop trop bot mentioned this pull request Dec 13, 2022
@trop
Copy link
Contributor

trop bot commented Dec 13, 2022

I have automatically backported this PR to "23-x-y", please check out #36656

@trop trop bot added in-flight/23-x-y merged/23-x-y PR was merged to the "23-x-y" branch. and removed target/23-x-y PR should also be added to the "23-x-y" branch. in-flight/23-x-y labels Dec 13, 2022
@trop trop bot added merged/21-x-y PR was merged to the "21-x-y" branch. merged/22-x-y PR was merged to the "22-x-y" branch. and removed in-flight/21-x-y labels Dec 14, 2022
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
When creating branded release builds and using scripts/strip-binaries.py
on Linux, the final artifacts end up unstripped due to the static set of
binaries considered for stripping.
With this patch the name of the electron binary is taken from the
BRANDING.json `project_name` key.

Signed-off-by: Robert Günzler <r@gnzler.io>

Signed-off-by: Robert Günzler <r@gnzler.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/21-x-y PR was merged to the "21-x-y" branch. merged/22-x-y PR was merged to the "22-x-y" branch. merged/23-x-y PR was merged to the "23-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants