Fix GitHub tag determination following main branch rename
See gh-26253
This commit is contained in:
committed by
Andy Wilkinson
parent
6953da2013
commit
5219697eb7
@@ -125,7 +125,7 @@ class AsciidoctorConventions {
|
||||
|
||||
private String determineGitHubTag(Project project) {
|
||||
String version = "v" + project.getVersion();
|
||||
return (version.endsWith("-SNAPSHOT")) ? "master" : version;
|
||||
return (version.endsWith("-SNAPSHOT")) ? "main" : version;
|
||||
}
|
||||
|
||||
private void configureOptions(AbstractAsciidoctorTask asciidoctorTask) {
|
||||
|
||||
Reference in New Issue
Block a user