Commit b3863ca
committed
fix(ci): flip <graphcompose.version> in examples/benchmarks POMs
The new examples-generation CI job introduced in 6e436a8 went red
on its first run with:
Could not find artifact io.github.demchaav:graphcompose:jar:1.6.0-beta.1
in central (https://repo.maven.apache.org/maven2)
Root cause: cut-release.ps1's Update-PomVersion flipped only the
first <version> tag in each POM (the project's own version),
leaving the <graphcompose.version> *property* in examples/pom.xml
and benchmarks/pom.xml at the in-flight 1.6.0-beta.1 value. That
property is what the dependency declaration resolves through, so
on a fresh CI agent without a populated local m2 the build couldn't
find the artifact.
Fix forward, in three parts:
1. Subordinate POMs (examples/, benchmarks/) — flip the property
from 1.6.0-beta.1 to 1.6.0 manually. v1.6.0 jar is already on
JitPack, so once the property points there, dependency resolution
succeeds against the JitPack repo declared in the parent.
2. cut-release.ps1 — Update-PomVersion now flips both the first
<version> tag AND a <graphcompose.version> property if present,
in the same call. Next release won't need a manual hotfix.
3. docs/release-process.md — capture the v1.6.0 lesson alongside
the v1.5.0 / v1.6.0-prep ones so a future agent reading the
runbook understands why the script grew this second regex.1 parent 6e436a8 commit b3863ca
4 files changed
Lines changed: 37 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
117 | 142 | | |
118 | 143 | | |
119 | 144 | | |
| 145 | + | |
120 | 146 | | |
121 | | - | |
| 147 | + | |
122 | 148 | | |
123 | | - | |
124 | | - | |
125 | | - | |
| 149 | + | |
126 | 150 | | |
127 | 151 | | |
128 | 152 | | |
| |||
0 commit comments