contensis-cli 1.6.1-beta.16 → 1.6.1-beta.18

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.js CHANGED
@@ -46454,7 +46454,7 @@ var progress = {
46454
46454
  };
46455
46455
 
46456
46456
  // src/version.ts
46457
- var LIB_VERSION = "1.6.1-beta.16";
46457
+ var LIB_VERSION = "1.6.1-beta.18";
46458
46458
 
46459
46459
  // src/commands/connect.ts
46460
46460
  var import_commander2 = require("commander");
@@ -57775,8 +57775,17 @@ Example call:
57775
57775
  },
57776
57776
  repositoryUrl: {
57777
57777
  $path: ["repositoryUrl", "CI_PROJECT_URL", "GITHUB_REPOSITORY"],
57778
- $formatting: (url2, { GITHUB_ACTIONS }) => {
57779
- if (GITHUB_ACTIONS) url2 = `https://github.com/${url2}`;
57778
+ $formatting: (url2, {
57779
+ GITHUB_ACTIONS,
57780
+ repositoryUrl,
57781
+ CI_PROJECT_URL,
57782
+ GITHUB_REPOSITORY
57783
+ }) => {
57784
+ console.log(`repositoryUrl ${repositoryUrl}`);
57785
+ console.log(`CI_PROJECT_URL ${CI_PROJECT_URL}`);
57786
+ console.log(`GITHUB_REPOSITORY ${GITHUB_REPOSITORY}`);
57787
+ if (GITHUB_ACTIONS && !url2.startsWith(`https://`))
57788
+ url2 = `https://github.com/${url2}`;
57780
57789
  if (url2 && !url2.endsWith(".git")) return `${url2}.git`;
57781
57790
  return url2;
57782
57791
  }