Commit dc15b65
fix: sync --version flag to extension metadata in azd x publish (#6792)
When the --version flag is provided to azd x publish, it was only used
for GitHub release tag lookup and artifact discovery, but not propagated
to extensionMetadata.Version. This caused the registry entry to always
use the version from extension.yaml, overwriting the existing entry
instead of appending a new version.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent eeea61f commit dc15b65
File tree
1 file changed
+2
-0
lines changed- cli/azd/extensions/microsoft.azd.extensions/internal/cmd
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments