Skip to content

Commit 2d7332d

Browse files
fixing release
1 parent a134b0b commit 2d7332d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

patches/@auto-it+core+10.37.6.patch

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/node_modules/@auto-it/core/dist/auto.js b/node_modules/@auto-it/core/dist/auto.js
2-
index b388374..41949be 100644
2+
index b388374..f5c1019 100644
33
--- a/node_modules/@auto-it/core/dist/auto.js
44
+++ b/node_modules/@auto-it/core/dist/auto.js
55
@@ -316,7 +316,7 @@ class Auto {
@@ -11,3 +11,12 @@ index b388374..41949be 100644
1111
if (ssh_url && (await this.git.verifyAuth(ssh_url))) {
1212
this.logger.veryVerbose.note("Using ssh URL as remote");
1313
return ssh_url;
14+
@@ -324,6 +324,8 @@ class Auto {
15+
if (gitCredentials) {
16+
const _a = url_1.parse(html_url), { port, hostname } = _a, parsed = tslib_1.__rest(_a, ["port", "hostname"]);
17+
const urlWithAuth = url_1.format(Object.assign(Object.assign({}, parsed), { auth: gitCredentials, host: `${hostname}${port ? `:${port}` : ""}` }));
18+
+
19+
+ console.log(process.env, urlWithAuth.replace(gitCredentials,'gitCredentials'))
20+
if (await this.git.verifyAuth(urlWithAuth)) {
21+
this.logger.veryVerbose.note("Using token + html URL as remote");
22+
return urlWithAuth;

0 commit comments

Comments
 (0)