Skip to content

Commit

Permalink
rename release notes folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Nov 11, 2024
1 parent 06660a5 commit 7b179dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release/proposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ function capture (cmd) {

// Write release notes to a file that can be copied to the GitHub release.
function ready () {
const notesDir = path.join(__dirname, '..', '..', '.github', 'notes')
const notesDir = path.join(__dirname, '..', '..', '.github', 'release_notes')
const notesFile = path.join(notesDir, `${newVersion}.md`)
const lineDiff = capture(`${diffCmd} --markdown=true v${releaseLine}.x master`)

fs.mkdirSync(notesDir, { recursive: true })
fs.writeFileSync(notesFile, lineDiff)

success('Release proposal is ready.')
success(`Changelog at .github/notes/${newVersion}.md`)
success(`Changelog at .github/release_notes/${newVersion}.md`)

process.exit(0)
}

0 comments on commit 7b179dd

Please sign in to comment.