Skip to content

Commit

Permalink
store variable to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioSeric committed Jun 21, 2021
1 parent 61e3879 commit 9247986
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
solution: '**/CalendarPlugin.csproj'
msbuildArguments: '/p:Version=$(nugetVersion)'
configuration: '$(BuildConfiguration)'
- task: Bash@3
inputs:
targetType: 'inline'
script: |
OUTPUT_PATH=src/Calendar.Plugin/bin/Release
echo "$(nugetVersion)" > $OUTPUT_PATH/NUGET_VERSION
echo "$(Build.SourceVersion)" > $OUTPUT_PATH/SOURCE_VERSION
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: nupkg'
Expand Down

0 comments on commit 9247986

Please sign in to comment.