Skip to content

Commit

Permalink
fix minor version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Nov 1, 2024
1 parent a06aa2a commit e6c96f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/proposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const diffCmd = [
const [lastMajor, lastMinor, lastPatch] = require('../../package.json').version.split('.').map(Number)
const lineDiff = capture(`${diffCmd} v${releaseLine}.x master`)
const newVersion = lineDiff.includes('SEMVER-MINOR')
? `${releaseLine}.${lastMinor + 1}.${lastPatch}`
? `${releaseLine}.${lastMinor + 1}.0`
: `${releaseLine}.${lastMinor}.${lastPatch + 1}`

// Checkout new branch and output new changes.
Expand Down

0 comments on commit e6c96f0

Please sign in to comment.