Repository navigation
Commit 2b233fe
committed
Name the release line's branch for the GitHub release
JReleaser takes main as release.github.branch unless told otherwise,
and before it opens a release it looks the branch up on GitHub. A
branch that is not there it creates with git push --all, which from
the tag's detached checkout has nothing to push. With main gone from
GitHub, the draft release of 21.0.0 failed that way, "Could not
checkout branch main", while Maven Central, the Gradle Plugin Portal
and the JetBrains Marketplace got the version.
The branch is now 21.X.X, the current release line; it moves when the
next line starts, as target-branch does in dependabot.yml. A dry run
skips the lookup, so only the next tag proves the fix; jreleaserConfig
shows branch and branchPush as 21.X.X.1 parent 336a286 commit 2b233fe
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
0 commit comments