allegro / allegro/axion-release-plugin

Current Version Always SNAPSHOT

Abierto
#418 1 comentario 4 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
Groovy
Estrellas
641
Forks
165
Merge medio
49 min
PR fusionados (30 d)
9

Descripción

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
}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.