Skip to content

Conversation

@mjcheetham
Copy link
Contributor

Improve the handling of output paths and build artifacts in the Windows installer build pipeline.

We accidentally started including some code signing summary report files in the output zip archives on Windows - let's delete those.

Also I noticed that local builds were now outputting the Windows installers to the payload directory, rather than the expected output path. This is because now that we specify a RID we were getting the RID appended to the output path (which would then be the same as the payload path.. what a coincidence!).

Finally let's be a bit more robust with the path-math in our layout.ps1 script - we should not assume if the path has the trailing slash or not. (Note that in MSBuild, the convention is that directory path variables should end with a slash.)

Remove the cruft code signing summary file from the Windows payload
zips. There's nothing interesting in this file anyway.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
@mjcheetham mjcheetham requested a review from a team as a code owner January 22, 2026 13:11
Copy link
Contributor

@dscho dscho left a comment

Choose a reason for hiding this comment

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

Nice!

When building locally the gcm(user)-$RID-$VERSION.exe installer files
were being written to the PayloadPath, rather than the OutputPath.

Also, since we're now specifying a RID for all invocations of the
project file, we should disable the appending of the RID to the
OutputPath variable - we already have the RID as part of the PayloadPath
(for keeping binaries separated by RID) and the resulting installer
filenames also contain the RID anyway.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
We assume the input paths given to the Windows layout.ps1 scripts do not
have a trailing slash - we should make sure this is the case before
proceeding and doing path-math with that.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
@mjcheetham mjcheetham enabled auto-merge January 22, 2026 13:53
@mjcheetham mjcheetham disabled auto-merge January 22, 2026 13:53
@mjcheetham mjcheetham merged commit d31f62c into git-ecosystem:main Jan 22, 2026
10 checks passed
@mjcheetham mjcheetham deleted the file-cleanup branch January 22, 2026 13:58
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.

2 participants