Commit 9684e69
committed
release: guard Central the way pub.dev and crates.io are, and let dispatch work
Both fall out of the org-level Maven secrets existing. The Central job used to
warn and skip because no signing key was configured; now it will actually run,
and its first act on a re-run would be to deploy a version Central already has,
which Central never allows. It now asks first, like the other two registries.
`workflow_dispatch` was in `on:` as the way back from a tag whose event was never
delivered, but `verify` read the version from `${GITHUB_REF_NAME#v}` — on a
manual run that is the branch, so it computed `main` and failed the manifest
check. It now falls back to the core's own version, which is the reference
`check_versions.sh` already uses when called without an argument.
Checked against Central: 0.1.0 reports as present and skips, an absent version
falls through to the deploy.1 parent bc1f6a9 commit 9684e69
1 file changed
Lines changed: 30 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
157 | 167 | | |
158 | 168 | | |
159 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
160 | 187 | | |
161 | | - | |
| 188 | + | |
162 | 189 | | |
163 | 190 | | |
164 | 191 | | |
| |||
169 | 196 | | |
170 | 197 | | |
171 | 198 | | |
172 | | - | |
| 199 | + | |
173 | 200 | | |
174 | 201 | | |
175 | 202 | | |
| |||
0 commit comments