@gearbox-protocol/deploy-tools 5.49.4 → 5.49.5

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 +5 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -429513,7 +429513,10 @@ 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
+ if (credentials) {
429518
+ log.debug(`using git token *****${credentials.slice(-4)}`);
429519
+ }
429517
429520
  const path12 = repo.replace(/^@/, "").replace(/\/$/, "");
429518
429521
  const cred = credentials ? `${credentials}@` : "";
429519
429522
  return https || credentials ? `https://${cred}github.com/${path12}.git` : `git@github.com:${path12}.git`;
@@ -458760,7 +458763,7 @@ function getRenderer(opts) {
458760
458763
  var package_default = {
458761
458764
  name: "@gearbox-protocol/deploy-tools",
458762
458765
  description: "Gearbox deploy tools",
458763
- version: "5.49.4",
458766
+ version: "5.49.5",
458764
458767
  homepage: "https://gearbox.fi",
458765
458768
  keywords: [
458766
458769
  "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.5",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"