mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-12 08:58:02 -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
|
stable = true
|
||||||
tag.name
|
tag.name
|
||||||
} else {
|
} else {
|
||||||
commit.id.substring(0, 9)
|
commit.id.substring(0, 10)
|
||||||
}
|
}
|
||||||
if (!git.status().isClean) {
|
if (!git.status().isClean) {
|
||||||
nextVersion += "-dirty"
|
nextVersion += "-dirty"
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
# This software is not affiliated with Mojang AB, the original developer of Minecraft.
|
# 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 \
|
curl \
|
||||||
--form-string "stable=false" \
|
--form-string "stable=false" \
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
# This software is not affiliated with Mojang AB, the original developer of Minecraft.
|
# 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 \
|
curl \
|
||||||
-X POST \
|
-X POST \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user