Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ensure automated v7 release compared to v7 #3986

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading