Removed .git from wiki url
This commit is contained in:
@@ -169,7 +169,7 @@ public class ReleaserProperties implements Serializable {
|
||||
/**
|
||||
* URL to the release train wiki
|
||||
*/
|
||||
private String releaseTrainWikiUrl = "https://github.com/spring-projects/spring-cloud.wiki.git";
|
||||
private String releaseTrainWikiUrl = "https://github.com/spring-projects/spring-cloud.wiki";
|
||||
|
||||
/**
|
||||
* Branch to check out for the documentation project
|
||||
|
||||
@@ -171,8 +171,8 @@ public class ProjectGitHandler implements ReleaserPropertiesAware {
|
||||
|
||||
File cloneProject(String url) {
|
||||
try {
|
||||
File destinationDir = properties.getGit().getCloneDestinationDir() != null ?
|
||||
new File(properties.getGit().getCloneDestinationDir()) :
|
||||
File destinationDir = this.properties.getGit().getCloneDestinationDir() != null ?
|
||||
new File(this.properties.getGit().getCloneDestinationDir()) :
|
||||
Files.createTempDirectory("releaser").toFile();
|
||||
return gitRepo(destinationDir).cloneProject(new URIish(url));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user