Plain tags for development branches.
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
This commit is contained in:
parent
659463b3b4
commit
a20602f671
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ scmVersion {
|
||||||
}
|
}
|
||||||
var p = shortened.replace('.', '-') + "-"
|
var p = shortened.replace('.', '-') + "-"
|
||||||
if (grgit.branch.current.name != "main"
|
if (grgit.branch.current.name != "main"
|
||||||
&& !grgit.branch.current.name.startsWith("release")) {
|
&& !grgit.branch.current.name.startsWith("release")
|
||||||
|
&& !grgit.branch.current.name.startsWith("develop")) {
|
||||||
p = p + grgit.branch.current.name.replace('/', '-') + "-"
|
p = p + grgit.branch.current.name.replace('/', '-') + "-"
|
||||||
}
|
}
|
||||||
prefix = p
|
prefix = p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue