@gearbox-protocol/deploy-tools 5.49.4 → 5.49.6

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.
Files changed (2) hide show
  1. package/dist/index.mjs +10 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -429513,7 +429513,15 @@ var log_default = logger;
429513
429513
  // ../../packages/node/dist/git.js
429514
429514
  var log = log_default.child({ name: "git" });
429515
429515
  function getGithubUrl(repo, https = false) {
429516
- const credentials = process.env.GITHUB_TOKEN ?? process.env.GH_TOKEN;
429516
+ const credentials = process.env.GIT_TOKEN ?? process.env.GITHUB_TOKEN ?? process.env.GH_TOKEN;
429517
+ console.log({
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
+ });
429522
+ if (credentials) {
429523
+ log.debug(`using git token *****${credentials.slice(-4)}`);
429524
+ }
429517
429525
  const path12 = repo.replace(/^@/, "").replace(/\/$/, "");
429518
429526
  const cred = credentials ? `${credentials}@` : "";
429519
429527
  return https || credentials ? `https://${cred}github.com/${path12}.git` : `git@github.com:${path12}.git`;
@@ -458760,7 +458768,7 @@ function getRenderer(opts) {
458760
458768
  var package_default = {
458761
458769
  name: "@gearbox-protocol/deploy-tools",
458762
458770
  description: "Gearbox deploy tools",
458763
- version: "5.49.4",
458771
+ version: "5.49.6",
458764
458772
  homepage: "https://gearbox.fi",
458765
458773
  keywords: [
458766
458774
  "gearbox"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "5.49.4",
4
+ "version": "5.49.6",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"