Removed .git from wiki url

This commit is contained in:
Marcin Grzejszczak
2018-11-18 11:36:41 +01:00
parent 7ab32ee75d
commit a0065e992f
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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));
}