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

Optionnal scope is optionnal, but parenthisis of that scope are not #976

Open
dlarr opened this issue Oct 29, 2024 · 0 comments
Open

Optionnal scope is optionnal, but parenthisis of that scope are not #976

dlarr opened this issue Oct 29, 2024 · 0 comments
Labels

Comments

@dlarr
Copy link

dlarr commented Oct 29, 2024

Hello, first of all thanks for this wonderfull library, I use it a lot.

Now the question

I noticed that if I omit scope in my commit, the changelog generation won't include that commit.

Examples:

This commit will appear in changelog after standard-version cli command
feat(some scope): some message commit

This one will also appear
feat(): some message commit

But this one will not appear, which is strange because it does respect conventional commit
feat: some message commit

Am I alone in this case ? Here is my versionrc (i obfuscated non relevant infos)
Also URL format must be used that way on bitbucket instances

{
    "header": "My awsome lib CHANGELOG",
    "types": [
        {"type": "revert", "section":"Reverts", "hidden":false},
        {"type": "feat", "section":"Features", "hidden":false},
        {"type": "fix", "section":"Bug fixes", "hidden":false},
        {"type": "improvement", "section":"Feature improvements", "hidden":false},
        {"type": "docs", "section":"Docs", "hidden":false},
        {"type": "refactor", "section":"Code refactoring", "hidden":false},
        {"type": "perf", "section":"Performance improvements", "hidden":false},
        {"type": "chore", "section":"Changes to auxiliary tools", "hidden":false}
    ],
    "compareUrlFormat":  "https://some.bitbucket.com/projects/PROJECT/repos/myrepo/compare/diff?targetBranch=refs%2Ftags%2F{{previousTag}}&sourceBranch=refs%2Ftags%2F{{currentTag}}",
    "issueUrlFormat": "https://some.jira.com/browse/{{id}}",
    "commitUrlFormat": ""https://some.bitbucket.com/projects/PROJECT/repos/myrepo/commits/{{hash}}",
    "skip": {
        "commit": false,
        "tag": false
    }
}

thank you for any answers :)

@dlarr dlarr added the question label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant