Skip to content

Commit

Permalink
Исправление применения плагина версионирования
Browse files Browse the repository at this point in the history
Порядок объявления имеет значение
  • Loading branch information
nixel2007 committed Sep 8, 2021
1 parent 7001455 commit 868d5c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ group = "io.github.1c-syntax"
gitVersioning.apply {
refs {
considerTagsOnBranches = true
branch("^(?!v[0-9]+).*") {
version = "\${ref}-\${commit.short}\${dirty}"
}
tag("v(?<tagVersion>[0-9].*)") {
version = "\${tagVersion}\${dirty}"
version = "\${ref.tagVersion}\${dirty}"
}
branch(".+") {
version = "\${ref}-\${commit.short}\${dirty}"
}
}

Expand Down

0 comments on commit 868d5c4

Please sign in to comment.