Skip to content

Version contains nonQualifier branch name. #34

Description

@sureshg

After migrating to main from master the version string still shows the non-qualified branch name (which I changed to main).

  • Plugin version
plugins {
   id("fr.brouillard.oss.gradle.jgitver") version "0.10.0-rc03"
}

jgitver {
    useDirty = false
    nonQualifierBranches = "main"
}
  • Gradle Version
------------------------------------------------------------
Gradle 7.0.2
------------------------------------------------------------

Build time:   2021-05-14 12:02:31 UTC
Revision:     1ef1b260d39daacbf9357f9d8594a8a743e2152e

Kotlin:       1.4.31
Groovy:       3.0.7
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          17-loom (Oracle Corporation 17-loom+7-342)
OS:           Mac OS X 11.4 x86_64
  • Version output
> Task :version
Version: 1.1.0-1-main

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