allegro / allegro/axion-release-plugin

Current Version Always SNAPSHOT

Aberta
#418 1 comentário 4 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
Groovy
Estrelas
641
Forks
165
Merge médio
49min
PRs com merge (30d)
9

Descrição

I'm not sure what's going on but I cannot get the current version to display anything but a SNAPSHOT. Even if I tag the current commit and then run the currentVersion command immediately after. The current version is then incremented to the next SNAPSHOT. I am using the latest plugin version (1.13.3). This is my current config...

```
subprojects {

apply(plugin = "pl.allegro.tech.build.axion-release")

scmVersion {

ignoreUncommittedChanges = true
useHighestVersion = true

tag(closureOf {
prefix = "${project.name}-"
})

repository(closureOf {

type = "git"
directory = rootProject.projectDir
remote = "origin"
})
}

version = scmVersion.version
}
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.