Azure / Azure/azure-cli-extensions
--artifact-metadata-list, how to set version-id for "git" artifact alias?
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
I have managed to figure out that the --artifact-metadata-list uses the alias configured in the release definition, and the buildId of the origin of the artifact set. However, I cannot figure out how to set the version-id for an artifact alias that refers to a git repository. I've tried _theAlias="fullsha" _theAlias=fullsha _theAlias="firstEight" and _theAlias=firstEight. What is the correct method for git repo artifacts where version-id is supposed to be the git commit?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: f912b9b3-f27c-deb7-54c1-8e3f477ed26f
* Version Independent ID: fb24966a-f6fb-1828-2e0e-4374ae1df3d9
* Content: [az pipelines release](https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/pipelines/release?view=azure-cli-latest#feedback)
* Content Source: [latest/docs-ref-autogen/ext/azure-devops/pipelines/release.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/ext/azure-devops/pipelines/release.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.