Skip to content

Commit

Permalink
refactor: optimize release type order (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji authored Oct 29, 2024
1 parent d13e559 commit 8b5b017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { changelog } from './changelog.js'
const cwd = process.cwd()
const { writeFileSync, readJSONSync } = fse

const releaseTypes = ['premajor', 'preminor', 'prepatch', 'major', 'minor', 'patch']
const releaseTypes = ['patch', 'minor', 'major', 'prepatch', 'preminor', 'premajor']

const BACK_HINT = 'Back to previous step' as const

Expand Down

0 comments on commit 8b5b017

Please sign in to comment.