Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: Conventional Commits by default
  • Loading branch information
antfu committed Jun 15, 2022
1 parent 75b62fe commit 3eb7681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -12,6 +12,7 @@ Forked from [`version-bump-prompt`](https://github.com/JS-DevTools/version-bump-
- Use current version's `preid` when avaliable.
- Confirmation before bumping.
- Enable `--commit` `--tag` `--push` by default. (opt-out by `--no-push`, etc.)
- Conventional Commits by default.

<details>
<summary>Original README</summary>
Expand Down
2 changes: 1 addition & 1 deletion src/normalize-options.ts
Expand Up @@ -95,7 +95,7 @@ export async function normalizeOptions(raw: VersionBumpOptions): Promise<Normali
commit = { all, noVerify, message: raw.commit }

else if (raw.commit || tag || push)
commit = { all, noVerify, message: 'release v' }
commit = { all, noVerify, message: 'chore: release v' }

let files
if (Array.isArray(raw.files) && raw.files.length > 0) {
Expand Down

0 comments on commit 3eb7681

Please sign in to comment.