mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2025-01-25 22:12:42 +01:00
endsWith not startsWith
This commit is contained in:
parent
17e888a289
commit
9a97cf7578
@ -18,7 +18,7 @@ subprojects {
|
||||
apply plugin: 'dev.vankka.dependencydownload.plugin'
|
||||
|
||||
var versionExtra = ""
|
||||
if (rootProject.version.startsWith("-SNAPSHOT") && indraGit.isPresent()) {
|
||||
if (rootProject.version.endsWith("-SNAPSHOT") && indraGit.isPresent()) {
|
||||
var branch = indraGit.branchName()
|
||||
if (branch == null) {
|
||||
branch = "detached-head"
|
||||
|
Loading…
Reference in New Issue
Block a user