Skip to content

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Dec 5, 2018

PR Summary

Update the name of the artifact to be unique per artifact

  • Also, remove an if condition specific to AppVeyor
  • Also, remove restriction on pushing artifacts to non-pull requests

Motivation: allow downloading individual artifacts

PR Checklist

@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Dec 6, 2018
@adityapatwardhan adityapatwardhan merged commit 50890b5 into PowerShell:master Dec 6, 2018
[Parameter(Mandatory)]
[ValidateScript({Test-Path -Path $_})]
$Path
$Path,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this would be more clear if $Path was named $ArtifactPath and $Name to $ArtifactName.

}
elseif ($env:TF_BUILD -and $env:BUILD_REASON -ne 'PullRequest') {

if ($env:TF_BUILD) {
Copy link
Contributor

Choose a reason for hiding this comment

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

If $env:TF_BUILD is not defined then this cmdlet does nothing. Is that Ok, or should a warning be generated?

@TravisEz13 TravisEz13 deleted the rename_artifacts branch December 6, 2018 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants