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>2022-05-19 00:24:04 +0200
commit5742cd19f34584c4eda11f2a40ff3c41474ea340 (patch)
tree33e1be2e510dc3e44c97b9c154408fb0d5622b92 /version.gradle
parentc762bc3120c54467ab25665214a96f539b9f9139 (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 6137523a..3aa6a907 100644
--- a/version.gradle
+++ b/version.gradle
@@ -1,6 +1,7 @@
+
buildscript {
ext {
wireguardVersionCode = 492
- wireguardVersionName = '1.0.20220516'
+ wireguardVersionName = 'git describe --tags HEAD'.execute().text.trim()
}
}