Skip to content

Official mac build should not contain alias in the path #4492

Closed

Description

@vors

Attached to powershell v6.0.0-beta.4 from VSCode and got this error
image

Notices the file path contains PII.

When creating the packages, please ensure that the file path does not contain user names. That is, clone to /PowerShell on Unix, and C:\PowerShell for Windows. The debug symbols include the absolute path to the sources when built, so it should appear /PowerShell/src/powershell/System.Management.Automation, not /home/username/src/PowerShell/....

https://github.com/PowerShell/PowerShell/blob/master/docs/maintainers/releasing.md#building-packages

The package build script should check such problems and prevent from doing an official release from home directory.

Environment data

> $PSVersionTable
Name                           Value                                                                                                   
----                           -----                                                                                                   
PSVersion                      6.0.0-beta                                                                                              
PSEdition                      Core                                                                                                    
GitCommitId                    v6.0.0-beta.4                                                                                           
OS                             Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEA...
Platform                       Unix                                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                 
PSRemotingProtocolVersion      2.3                                                                                                     
SerializationVersion           1.1.0.1                                                                                                 
WSManStackVersion              3.0   

Activity

  1. added
    WG-Maintainers-Build
    on Aug 4, 2017
  2. daxian-dbw commented on Aug 4, 2017

    @daxian-dbw
    Member

    cc Travis Plunk (@TravisEz13)

    This got fixed in beta.5. OSX package was produced with path /PowerShell for beta.5.

  3. SteveL-MSFT commented on Aug 14, 2017

    @SteveL-MSFT
    Member

    sergei (@vors) can you verify and close this?

  4. TravisEz13 commented on Aug 14, 2017

    @TravisEz13
    Member

    I have a PR to help prevent this from happening.

  5. TravisEz13 commented on Aug 15, 2017

    @TravisEz13
    Member

    Steve Lee (@SteveL-MSFT) This should not be possible unless someone packages with -SkipReleaseChecks
    So, this should be closed and should not occur again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions