Skip to content

Difference between git describe and injected version number #5

Open
@sebastibe

Description

@sebastibe

In my batch deployment script I am trying to generate the release version from git describe as mentioned in the README using git describe --tags --dirty=-SNAPSHOT (returning for example 1.1.9-7-gf2e285aa-SNAPSHOT). However, The version number doesn't match with the one in my Clojure code as the "g" prefix on the commit number is missing (i.e. 1.1.9-7-f2e285aa-SNAPSHOT).

Would you have any recommendations on how to have them match?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions