diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-12-11 20:29:42 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2022-05-19 00:24:04 +0200 |
commit | 5742cd19f34584c4eda11f2a40ff3c41474ea340 (patch) | |
tree | 33e1be2e510dc3e44c97b9c154408fb0d5622b92 | |
parent | c762bc3120c54467ab25665214a96f539b9f9139 (diff) |
version: automatically generate version string from tag
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
-rw-r--r-- | version.gradle | 3 |
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() } } |