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

feat(release): support conventionalCommits shorthand for version config #21187

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

JamesHenry
Copy link
Collaborator

@JamesHenry JamesHenry commented Jan 17, 2024

Current Behavior

In the very common case of enabling conventional commits based versioning the following two options within nested config are required:

"release": {
  "version": {
    "generatorOptions": {
      "specifierSource": "conventional-commits",
      "currentVersionResolver": "git-tag"
    }
  }
}

Expected Behavior

In the very common case of enabling conventional commits based versioning the following readable shorthand is available:

"release": {
  "version": {
    "conventionalCommits": true
  }
}

Related Issue(s)

Fixes #

@JamesHenry JamesHenry requested a review from a team as a code owner January 17, 2024 17:03
Copy link

vercel bot commented Jan 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 17, 2024 8:02pm

@JamesHenry JamesHenry enabled auto-merge (squash) January 17, 2024 17:09
@JamesHenry JamesHenry merged commit 38307fa into nrwl:master Jan 17, 2024
6 checks passed
@JamesHenry JamesHenry deleted the conventional-commits-shorthand branch January 17, 2024 21:03
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants