From d2faa22da07cb7d2d39cc730006ccc3c70a99b7b Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:13:47 -0800 Subject: [PATCH] chore: ensure automated v7 release compared to v7 --- .github/workflows/release.yml | 4 ++-- scripts/release.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b645eb5a89f..5f71d450a90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: repo }) - const previousRelease = releases.find((r) => r.tag_name.startsWith('v6')) + const previousRelease = releases.find((r) => r.tag_name.startsWith('v7')) if (versionTag !== previousRelease?.tag_name) { return versionTag @@ -71,4 +71,4 @@ jobs: script: | const defaultBranch = "${{ github.event.repository.default_branch }}" const versionTag = "${{ needs.check-release-version.outputs.release-version }}" - await require('./scripts/release').release({ github, context, defaultBranch, versionTag }) \ No newline at end of file + await require('./scripts/release').release({ github, context, defaultBranch, versionTag }) diff --git a/scripts/release.js b/scripts/release.js index ad8e8468669..dd3e86eb5dc 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -8,7 +8,7 @@ const generateReleaseNotes = async ({ github, owner, repo, versionTag, defaultBr repo }) - const previousRelease = releases.find((r) => r.tag_name.startsWith('v6')) + const previousRelease = releases.find((r) => r.tag_name.startsWith('v7')) const { data: { body } } = await github.rest.repos.generateReleaseNotes({ owner,