summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-12-11 20:29:42 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-04-28 23:17:53 +0200
commit4a03e71851917ec7b7a1ef7baaa38fc338e6b58f (patch)
tree6d4b30e0b96ab021bb7f27eec9ab3ef3594e506e
parent79b8c343d7ad4965171b386f3aa851ae6f264520 (diff)
version: automatically generate version string from tag
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
-rw-r--r--version.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/version.gradle b/version.gradle
index 10e15283..abd34299 100644
--- a/version.gradle
+++ b/version.gradle
@@ -1,6 +1,7 @@
+
buildscript {
ext {
wireguardVersionCode = 500
- wireguardVersionName = '1.0.20230427'
+ wireguardVersionName = 'git describe --tags HEAD'.execute().text.trim()
}
}