Skip to content

Update the name of the artifact to be unique per artifact - #8405

Merged
Aditya Patwardhan (adityapatwardhan) merged 3 commits into
PowerShell:masterfrom
TravisEz13:rename_artifacts
Dec 6, 2018
Merged

Aditya Patwardhan (adityapatwardhan) merged 3 commits into
PowerShell:masterfrom
TravisEz13:rename_artifacts

Conversation

@TravisEz13

@TravisEz13 Travis Plunk (TravisEz13) commented Dec 5, 2018 •

Copy link
Copy Markdown
Member

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 Aditya Patwardhan (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
Aditya Patwardhan (adityapatwardhan) merged commit 50890b5 into PowerShell:master Dec 6, 2018
Comment thread tools/appveyor.psm1
[Parameter(Mandatory)]
[ValidateScript({Test-Path -Path $_})]
$Path
$Path,

Copy link
Copy Markdown
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.

Comment thread tools/appveyor.psm1
}
elseif ($env:TF_BUILD -and $env:BUILD_REASON -ne 'PullRequest') {

if ($env:TF_BUILD) {

Copy link
Copy Markdown
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?

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