summaryrefslogtreecommitdiffhomepage
path: root/version.gradle
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-05-03 00:10:06 +0200
commitc2b703e3c4019ca2d0cec16972b34bb5c8820a08 (patch)
tree5ffd3200ab705b6149e6c65f6407ea5a6a16eafe /version.gradle
parentd980ede4d80dfe0f9271275017e481072487cb6f (diff)
version: automatically generate version string from tag
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
Diffstat (limited to 'version.gradle')
-rw-r--r--version.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/version.gradle b/version.gradle
index 256ceb80..51eb2aad 100644
--- a/version.gradle
+++ b/version.gradle
@@ -1,6 +1,7 @@
+
buildscript {
ext {
wireguardVersionCode = 501
- wireguardVersionName = '1.0.20230502'
+ wireguardVersionName = 'git describe --tags HEAD'.execute().text.trim()
}
}