Browse Source

gitHost parameter

CrazyDoctor 1 year ago
parent
commit
75e093134a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .gitconfig.tmpl
  2. 1 1
      build.gradle

+ 1 - 1
.gitconfig.tmpl

@@ -1,6 +1,6 @@
 [credential]
 [credential]
 	helper = store
 	helper = store
-[credential "http://${commentsRepoUrl}"]
+[credential "http://${gitHost}/${commentsRepoUrl}"]
 	provider = generic
 	provider = generic
 [user]
 [user]
 	email = ${gitEmail}
 	email = ${gitEmail}

+ 1 - 1
build.gradle

@@ -68,7 +68,7 @@ task copySources {
 			include "*.tmpl"
 			include "*.tmpl"
 			into file(buildDir)
 			into file(buildDir)
 			rename { fileName -> fileName.replace('.tmpl', '') }
 			rename { fileName -> fileName.replace('.tmpl', '') }
-			expand(commentsRepoUrl: commentsRepoUrl, gitUsername: gitUsername, gitEmail: gitEmail, gitPassword: gitPassword)
+			expand(commentsRepoUrl: commentsRepoUrl, gitUsername: gitUsername, gitEmail: gitEmail, gitPassword: gitPassword, gitHost: gitHost)
 		}
 		}
 
 
 		copy {
 		copy {