diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-12-11 20:29:42 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2022-03-18 22:04:47 +0100 |
commit | e99531653dedd3d4180016f5cffc7c29f0af378c (patch) | |
tree | 9d377876cf177317363b14b97f8fd5803c9d4e3d | |
parent | a06b18c9d66d43c00a013314b80df3b491bafdec (diff) |
version: build version string from tag name
-rw-r--r-- | version.gradle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/version.gradle b/version.gradle index 6217f296..10441723 100644 --- a/version.gradle +++ b/version.gradle @@ -1,6 +1,7 @@ + buildscript { ext { wireguardVersionCode = 491 - wireguardVersionName = '1.0.20211029' + wireguardVersionName = 'git describe --tags HEAD'.execute().text.trim() } } |