From 5742cd19f34584c4eda11f2a40ff3c41474ea340 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 11 Dec 2021 20:29:42 +0100 Subject: version: automatically generate version string from tag Signed-off-by: Mikael Magnusson --- version.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'version.gradle') 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() } } -- cgit v1.2.3