Skip to content

[BUG] Version passed to cli ignored #181

@mathieutu

Description

@mathieutu

Hi, I'm on a php project, and want to give the version manually.

$ gitmoji-changelog 1.2.0                                                                                                                                      Projects/laravel-json-syncer master
▶  start     gitmoji-changelog v2.1.0
ℹ  info      update ./CHANGELOG.md
ℹ  info      No custom configuration found
ℹ  info      use preset node
✖  error     Error: Cannot retrieve the version from your configuration. Check it or you can do "gitmoji-changelog <wanted version>". 
    at main (/Users/mathieutu/Projects/laravel-json-syncer/node_modules/gitmoji-changelog/src/cli.js:63:13)

you can do "gitmoji-changelog "

Actually this is exactly what I'm doing.

It's working on v1.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions