mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Wrong versionName when not building latest version (#314)
This commit is contained in:
parent
8086d1db46
commit
a4b6003e58
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ ext {
|
||||||
// Git is needed in your system PATH for these commands to work.
|
// Git is needed in your system PATH for these commands to work.
|
||||||
// If it's not installed, you can return a random value as a workaround
|
// If it's not installed, you can return a random value as a workaround
|
||||||
getCommitCount = {
|
getCommitCount = {
|
||||||
return 'git rev-list --count origin/master'.execute().text.trim()
|
return 'git rev-list --count HEAD'.execute().text.trim()
|
||||||
// return "1"
|
// return "1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue