mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-11 08:27:29 -04:00
version name is now git commit with fixed 10 chars
This commit is contained in:
parent
9fae83927a
commit
c9e985204c
@ -447,7 +447,7 @@ fun loadGit() {
|
||||
stable = true
|
||||
tag.name
|
||||
} else {
|
||||
commit.id.substring(0, 9)
|
||||
commit.id.substring(0, 10)
|
||||
}
|
||||
if (!git.status().isClean) {
|
||||
nextVersion += "-dirty"
|
||||
|
@ -12,7 +12,8 @@
|
||||
# This software is not affiliated with Mojang AB, the original developer of Minecraft.
|
||||
#
|
||||
|
||||
VERSION=$(git rev-parse --short HEAD)
|
||||
VERSION=$(git rev-parse HEAD)
|
||||
VERSION=${VERSION:0:10}
|
||||
|
||||
curl \
|
||||
--form-string "stable=false" \
|
||||
|
@ -12,7 +12,8 @@
|
||||
# This software is not affiliated with Mojang AB, the original developer of Minecraft.
|
||||
#
|
||||
|
||||
VERSION=$(git rev-parse --short HEAD)
|
||||
VERSION=$(git rev-parse HEAD)
|
||||
VERSION=${VERSION:0:10}
|
||||
|
||||
curl \
|
||||
-X POST \
|
||||
|
Loading…
x
Reference in New Issue
Block a user