Skip to content

Running Gitversion for submodules in Detached HEAD #748

@alkampfergit

Description

@alkampfergit

It would be nice if I could run GitVersion against a submodule of my repository. Actually I would like to run GitVersion on a submodule to determine the SemVer of the submodule actually referenced by my project.

Running GitVersion on submodule gives me an error for running in detached head

It looks like the branch being examined is a detached Head pointing to commit 'fcbf456'. Without a proper branch name GitVersion cannot determine the build version.

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