mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 21:24:27 +02:00
Let sc.0.test.0 be the initial version after a merge
This commit is contained in:
parent
3c9487541b
commit
c4e17a1bc4
@ -162,7 +162,8 @@ get_current_versions() {
|
|||||||
get_versions_string() {
|
get_versions_string() {
|
||||||
versions_string="${versions[0]}-sc.${versions[1]}"
|
versions_string="${versions[0]}-sc.${versions[1]}"
|
||||||
|
|
||||||
if [[ ${versions[2]} -gt 0 ]]; then
|
# both zero means the initial version after a merge
|
||||||
|
if [[ ${versions[1]} -eq 0 || ${versions[2]} -gt 0 ]]; then
|
||||||
versions_string+=".test.${versions[2]}"
|
versions_string+=".test.${versions[2]}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user