Skip to content

Quote the compiler arguments in the release compile step (v1.123.1) - #109

Merged
TheAbider merged 1 commit into
masterfrom
build-fix-1.123.1
Sep 9, 2026
Merged

Quote the compiler arguments in the release compile step (v1.123.1)#109
TheAbider merged 1 commit into
masterfrom
build-fix-1.123.1

Conversation

@TheAbider

Copy link
Copy Markdown
Owner

The v1.123.0 release job failed at "Compile RackStack.exe": under pwsh 7 the /resource:$embedded,RackStack.ps1 argument reached csc.exe with the variable unexpanded (error CS1566: Error reading resource file '...\'). All compiler arguments are now quoted strings, which both PowerShell editions expand identically.

Verified by running the exact step under pwsh 7.6.5 and Windows PowerShell 5.1 locally; both produce an EXE with the correct version resource and the embedded resource byte-identical to the monolithic. 5511/5511 structural tests.

Version bumped to 1.123.1 because release detection compares Header.ps1 against the previous commit.

Under pwsh 7, which runs the release job, /resource:$embedded reached
csc.exe with the variable unexpanded and the v1.123.0 build failed before
producing an executable. All csc arguments are now passed as quoted
strings, which both PowerShell editions expand identically. Verified by
running the exact step under pwsh 7.6.5 and Windows PowerShell 5.1.
@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TheAbider
TheAbider merged commit 355c97b into master Sep 9, 2026
7 checks passed
@TheAbider
TheAbider deleted the build-fix-1.123.1 branch September 9, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant