@gearbox-protocol/deploy-tools 5.49.5 → 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 +6 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -429514,9 +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
|
-
|
|
429518
|
-
|
|
429519
|
-
|
|
429517
|
+
log.info({
|
|
429518
|
+
GIT_TOKEN: process.env.GIT_TOKEN?.slice(-4) ?? "--",
|
|
429519
|
+
GITHUB_TOKEN: process.env.GITHUB_TOKEN?.slice(-4) ?? "--",
|
|
429520
|
+
GH_TOKEN: process.env.GH_TOKEN?.slice(-4) ?? "--"
|
|
429521
|
+
}, `using git token *****${credentials?.slice(-4)}`);
|
|
429520
429522
|
const path12 = repo.replace(/^@/, "").replace(/\/$/, "");
|
|
429521
429523
|
const cred = credentials ? `${credentials}@` : "";
|
|
429522
429524
|
return https || credentials ? `https://${cred}github.com/${path12}.git` : `git@github.com:${path12}.git`;
|
|
@@ -458763,7 +458765,7 @@ function getRenderer(opts) {
|
|
|
458763
458765
|
var package_default = {
|
|
458764
458766
|
name: "@gearbox-protocol/deploy-tools",
|
|
458765
458767
|
description: "Gearbox deploy tools",
|
|
458766
|
-
version: "5.49.
|
|
458768
|
+
version: "5.49.7",
|
|
458767
458769
|
homepage: "https://gearbox.fi",
|
|
458768
458770
|
keywords: [
|
|
458769
458771
|
"gearbox"
|