You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.gradle
+7-4
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,13 @@ buildscript {
33
33
// TODO: remove these hacks once jgit supports worktrees (nebula upgrades) and/or Antora supports full-clone
34
34
if (project.hasProperty('antora')) {
35
35
'git fetch --unshallow --all --tags'.execute().text // Antora shallow-clones so there is no history (we need commit history to find the last tag in the tree)
36
-
String tag ='git tag --points-at HEAD'.execute().text.trim() // jgit does not able to figure out tags in Antora's worktree
37
-
if (tag) {
38
-
println"Found release tag: $tag, using it as release.version"
0 commit comments