Commit 394ff22
committed
Fix v2 tag format: modules/<name>/<version>, not modules/<name>/v2/<version>
The submodule go.mod files live at modules/<name>/ (the /v2 is the SIV in the
module path, not a directory), so Go resolves each module's version tag at
<subdir>/<version> = modules/<name>/<version> (e.g. modules/aws/v2.0.0-beta.1).
The workflow and runbook incorrectly put the /v2 in the tag itself
(modules/aws/v2/v2.0.0-beta.1), which the module proxy cannot associate with the
module path, so no consumer could resolve the tags.
Caught by an end-to-end consumer test against the pushed beta tags: core (no
cross-module deps) resolved, every other module failed with
'ssh/v2@v2.0.0-00010101...: unknown revision' because the placeholder-free tag
was published under the wrong name. The proxy-verify URL is unchanged (it
correctly uses the full module path, which does include /v2).1 parent ce03a47 commit 394ff22
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments