Skip to content

Commit

Permalink
unsure about this pipeline change
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaGhiya committed Jul 8, 2020
1 parent 5fdb5cb commit 296c7d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/pipelines/templates/stages/archetype-js-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ stages:
dependsOn: ${{parameters.DependsOn}}
jobs:
- job: PublishPackages
condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))
condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'),ne(variables['Skip.PublishDevFeed'], 'true')))
displayName: Publish package to daily feed
pool:
vmImage: ubuntu-18.04
Expand All @@ -199,6 +199,7 @@ stages:
artifact: ${{parameters.ArtifactName}}
timeoutInMinutes: 5
- ${{ each artifact in parameters.Artifacts }}:
- ${{if ne(artifact.options.skipPublishDevFeed, 'true')}}:
- pwsh: |
$detectedPackageName=Get-ChildItem $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}-*-dev*.tgz
echo "##vso[task.setvariable variable=Package.Archive]$detectedPackageName"
Expand Down

0 comments on commit 296c7d2

Please sign in to comment.