Skip to content

Commit

Permalink
chore: ensure automated v7 release compared to v7 (#3986)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jan 2, 2025
1 parent 1359605 commit 54c5c68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 })
await require('./scripts/release').release({ github, context, defaultBranch, versionTag })
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 54c5c68

Please sign in to comment.