Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
CI: Use bash to properly expand variable#127822
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
AlexWaygood left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks!
| persist-credentials:false | ||
| -name:Build CPython installer | ||
| run:.\Tools\msi\build.bat --doc -"${ARCH}" | ||
| run:./Tools/msi/build.bat --doc -"${ARCH}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
It seems that withshell: bash both/ and\\ work for paths, but not\.
I've seen (and used)\\ elsewhere, but since this is the only instance in this file and/ is more readable we don't need to worry about consistency here.
AlexWaygoodDec 11, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Yes,/ and\\ are both valid path separators on Windows, so using/ always works fine for paths on Windows. The difference between the platforms is that/ is not thedefault path separator on Windows.
b2ad7e0 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
(cherry picked from commitb2ad7e0)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
GH-127824 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Follow on from#127749.
Re:#127786 (comment).
Needs backporting to 3.13 but was already added to 3.12 in#127788.