Commit 5d5fbe0
authored
xtask: Handle being in the right git dir without looking for ADOPTERS.md (#2077)
It turns out that things like `fedpkg local` break today because
they'll do a build directly from dist-git and our code gets
confused by this (because dist-git != upstream git). It doesn't
affect "production" Koji builds because I think for historical
reasons that doesn't mount the dist-git .git dir?
Anyways...make this work more nicely by looking for ADOPTERS.md
first and if we're already in the right dir, then we're done
and no need to look for git.
Signed-off-by: Colin Walters <walters@verbum.org>1 parent 1f80a21 commit 5d5fbe0
1 file changed
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
204 | 213 | | |
205 | | - | |
206 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
207 | 220 | | |
208 | 221 | | |
209 | 222 | | |
| |||
213 | 226 | | |
214 | 227 | | |
215 | 228 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
222 | 232 | | |
223 | 233 | | |
224 | 234 | | |
| |||
0 commit comments