I'm uploading a Universal package to Azure Artifacts from an Azure Pipeline. I want to package the patched version number in the source of the artifact so I can display it in the view.
How should I do this?
This is an Angular project and the artifact is the result of ng build --prod
.
This is the upload task:
- task: UniversalPackages@0
condition: eq(variables.isMaster, true)
inputs:
command: 'publish'
publishDirectory: '$(System.DefaultWorkingDirectory)/dist'
feedsToUsePublish: 'internal'
vstsFeedPublish: 'Development/<name_redacted>'
vstsFeedPackagePublish: '<name_redacted>'
versionOption: 'patch