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

ci: Unify suffixes in release names the same way as before #3535

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

Yaminyam
Copy link
Member

@Yaminyam Yaminyam commented Jan 23, 2025

resolves #3534 (BA-605)
I will also need to rename all of the release files for the 25.1.1 version that were incorrectly registered in this PR.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue

@Copilot Copilot bot review requested due to automatic review settings January 23, 2025 10:11

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@github-actions github-actions bot added the size:XS ~10 LoC label Jan 23, 2025
@Yaminyam Yaminyam added the skip:changelog Make the action workflow to skip towncrier check label Jan 23, 2025
Comment on lines +14 to +20
kernel_name_aliases = {
"linux": "linux",
"darwin": "macos",
"win32": "windows",
}

platform_kernel = kernel_name_aliases.get(sys.platform, sys.platform)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems likely to resolve the issue.
However, in the past, it seems that the name was matched without an alias. Do you know why the name has been changed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously, we were building with the SCIE plugin, but recently PEX included SCIE-based builds to replace that functionality.(ref. #3377)
There was an issue where if pantsbuild varied the output filename specified, pants would not recognize that it had output normally and would clean it up.
So we added scripts/get-platform-suffix.py to append the suffix after pantsbuild has finished.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please run the test and share the results?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CleanShot 2025-01-24 at 15 20 11@2x
Yes I just ran a test locally.

Copy link
Collaborator

@HyeockJinKim HyeockJinKim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HyeockJinKim HyeockJinKim added this pull request to the merge queue Jan 24, 2025
Merged via the queue into main with commit f615fa9 Jan 24, 2025
25 of 26 checks passed
@HyeockJinKim HyeockJinKim deleted the ci/platform-suffix branch January 24, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS ~10 LoC skip:changelog Make the action workflow to skip towncrier check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify suffixes in release names the same way as before
2 participants