Skip to content

Commit

Permalink
Merge pull request #21 from microsoft/dev/sknam/fix-nbgv-versioning
Browse files Browse the repository at this point in the history
Fix nbgv versioning
  • Loading branch information
skylarnam authored Feb 28, 2023
2 parents 125202f + 0a91608 commit b4eeecb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ steps:
zipAfterPublish: false

- script: |
choco pack pkg\VSConfigFinder\VSConfigFinder.nuspec --out "VSConfigFinder\bin\${{ parameters.BuildConfiguration }}" --version "%NBGV_NuGetPackageVersion%" "Configuration=${{ parameters.BuildConfiguration }}" "CommitId=$(Build.SourceVersion)" "Tag=$(Build.BuildNumber)"
displayName: Package
choco pack pkg\VSConfigFinder\VSConfigFinder.nuspec --out "VSConfigFinder\bin\${{ parameters.BuildConfiguration }}" --version "$(GitBuildVersion)" "Configuration=${{ parameters.BuildConfiguration }}" "CommitId=$(Build.SourceVersion)" "Tag=$(Build.BuildNumber)"
displayName: 'Package Nupkg'
workingDirectory: $(Build.SourcesDirectory)

- task: CopyFiles@2
displayName: 'Copy build artifacts from: $(Build.SourcesDirectory)\VSConfigFinder\bin\$(BuildConfiguration)\** to $(Build.ArtifactStagingDirectory)\out'
displayName: 'Copy build artifacts'
inputs:
SourceFolder: $(Build.SourcesDirectory)\VSConfigFinder
Contents: |
bin\$(BuildConfiguration)\**
TargetFolder: $(Build.ArtifactStagingDirectory)\out

- task: PublishBuildArtifacts@1
displayName: 'Publish build artifacts from: $(Build.ArtifactStagingDirectory)\out'
displayName: 'Publish build artifacts'
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)\out
ArtifactName: drop
Expand Down

0 comments on commit b4eeecb

Please sign in to comment.