Skip to content

go mod pseudo version uses wrong timestamp #186

Closed
@sttts

Description

@sttts

We use TZ=GMT git show -q --pretty='format:v0.0.0-%cd-%h' --date='format:%Y%m%d%H%M%S' --abbrev=12 to get the time stamp of the last commit. But this does not work, TZ=GMT has no influence and we get (probably) the timezone of the last commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions