Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

It appears that signing puts the signed binaries in a folder called signed. The current packaging copies the signed binaries over the unsigned binaries, but the signed folder is a child folder of the unsigned binaries so it gets added to the zip resulting in duplicate files that aren't used. Fix is to remove the signed folder after copying the signed binaries.

Fix #5506


# Remove `signed` folder in buildpath now that signed binaries are copied
if (Test-Path $BuildPath\signed)
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe put the brace on the same line as this seems to be the most common style? I have opened PR #5529 to help with the style in the future.

Copy link
Member Author

Choose a reason for hiding this comment

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

I noticed both styles in this file, but it seems that for if statements, at least near the code I added, the braces were on a new line

@TravisEz13 TravisEz13 merged commit db0498d into PowerShell:master Nov 28, 2017
@SteveL-MSFT SteveL-MSFT deleted the zip-dupes branch November 28, 2017 22:31
TravisEz13 pushed a commit to TravisEz13/PowerShell that referenced this pull request Nov 29, 2017
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.

3 participants