Skip to content

gitversion.sh (and then dkms) fails on clones without tags #49

Description

@amezin

Clone with only master branch (no tags): https://github.com/aleksamagicka/liquidtux/actions/runs/4240522240/jobs/7369631715

fatal: No names found, cannot describe anything.

Possible solutions:

  • git describe --always (only commit hash when tag not found)
  • Fallback value (hardcoded v0.1.0 when git describe fails)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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