@fern-api/fern-api-dev 4.71.4-5-g544d414d64d → 4.71.4-7-g884f369236f

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/cli.cjs +7 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -345300,7 +345300,8 @@ var require_GithubStep = __commonJS({
345300
345300
  }
345301
345301
  }
345302
345302
  const finalCommitMessage = this.config.commitMessage ?? "SDK Generation";
345303
- const changelogUrl = this.config.changelogEntry ? `https://github.com/${this.config.uri}/blob/${prBranch}/changelog.md` : void 0;
345303
+ const headSha = await repository.getHeadSha();
345304
+ const changelogUrl = this.config.changelogEntry ? `https://github.com/${this.config.uri}/blob/${headSha}/changelog.md` : void 0;
345304
345305
  const { prTitle, prBody } = (0, parseCommitMessage_1.parseCommitMessageForPR)(finalCommitMessage, this.config.changelogEntry, this.config.prDescription, this.config.versionBumpReason, this.config.previousVersion, this.config.newVersion, this.config.versionBump, changelogUrl);
345305
345306
  const replaySection = (0, replay_summary_1.formatReplayPrBody)(replayResult, { branchName: prBranch, repoUri: this.config.uri });
345306
345307
  let enrichedBody = replaySection != null ? prBody + "\n\n---\n\n" + replaySection : prBody;
@@ -621393,7 +621394,7 @@ var AccessTokenPosthogManager = class {
621393
621394
  properties: {
621394
621395
  ...event,
621395
621396
  ...event.properties,
621396
- version: "4.71.4-5-g544d414d64d",
621397
+ version: "4.71.4-7-g884f369236f",
621397
621398
  usingAccessToken: true
621398
621399
  }
621399
621400
  });
@@ -621447,7 +621448,7 @@ var UserPosthogManager = class {
621447
621448
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
621448
621449
  event: "CLI",
621449
621450
  properties: {
621450
- version: "4.71.4-5-g544d414d64d",
621451
+ version: "4.71.4-7-g884f369236f",
621451
621452
  ...event,
621452
621453
  ...event.properties,
621453
621454
  usingAccessToken: false,
@@ -838546,7 +838547,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
838546
838547
  var LOGS_FOLDER_NAME = "logs";
838547
838548
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
838548
838549
  function getCliSource() {
838549
- const version7 = "4.71.4-5-g544d414d64d";
838550
+ const version7 = "4.71.4-7-g884f369236f";
838550
838551
  return `cli@${version7}`;
838551
838552
  }
838552
838553
  var DebugLogger = class {
@@ -849793,7 +849794,7 @@ var LegacyDocsPublisher = class {
849793
849794
  previewId,
849794
849795
  disableTemplates: void 0,
849795
849796
  skipUpload,
849796
- cliVersion: "4.71.4-5-g544d414d64d"
849797
+ cliVersion: "4.71.4-7-g884f369236f"
849797
849798
  });
849798
849799
  if (taskContext.getResult() === TaskResult.Failure) {
849799
849800
  return { success: false };
@@ -924146,7 +924147,7 @@ var CliContext = class _CliContext {
924146
924147
  if (false) {
924147
924148
  this.logger.error("CLI_VERSION is not defined");
924148
924149
  }
924149
- return "4.71.4-5-g544d414d64d";
924150
+ return "4.71.4-7-g884f369236f";
924150
924151
  }
924151
924152
  getCliName() {
924152
924153
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.71.4-5-g544d414d64d",
2
+ "version": "4.71.4-7-g884f369236f",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",