@gearbox-protocol/deploy-tools 5.49.6 → 5.49.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +3 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -429514,14 +429514,11 @@ var log_default = logger;
|
|
|
429514
429514
|
var log = log_default.child({ name: "git" });
|
|
429515
429515
|
function getGithubUrl(repo, https = false) {
|
|
429516
429516
|
const credentials = process.env.GIT_TOKEN ?? process.env.GITHUB_TOKEN ?? process.env.GH_TOKEN;
|
|
429517
|
-
|
|
429517
|
+
log.info({
|
|
429518
429518
|
GIT_TOKEN: process.env.GIT_TOKEN?.slice(-4) ?? "--",
|
|
429519
429519
|
GITHUB_TOKEN: process.env.GITHUB_TOKEN?.slice(-4) ?? "--",
|
|
429520
429520
|
GH_TOKEN: process.env.GH_TOKEN?.slice(-4) ?? "--"
|
|
429521
|
-
});
|
|
429522
|
-
if (credentials) {
|
|
429523
|
-
log.debug(`using git token *****${credentials.slice(-4)}`);
|
|
429524
|
-
}
|
|
429521
|
+
}, `using git token *****${credentials?.slice(-4)}`);
|
|
429525
429522
|
const path12 = repo.replace(/^@/, "").replace(/\/$/, "");
|
|
429526
429523
|
const cred = credentials ? `${credentials}@` : "";
|
|
429527
429524
|
return https || credentials ? `https://${cred}github.com/${path12}.git` : `git@github.com:${path12}.git`;
|
|
@@ -458768,7 +458765,7 @@ function getRenderer(opts) {
|
|
|
458768
458765
|
var package_default = {
|
|
458769
458766
|
name: "@gearbox-protocol/deploy-tools",
|
|
458770
458767
|
description: "Gearbox deploy tools",
|
|
458771
|
-
version: "5.49.
|
|
458768
|
+
version: "5.49.7",
|
|
458772
458769
|
homepage: "https://gearbox.fi",
|
|
458773
458770
|
keywords: [
|
|
458774
458771
|
"gearbox"
|