diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-12-11 20:29:42 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-05-03 00:10:06 +0200 |
commit | c2b703e3c4019ca2d0cec16972b34bb5c8820a08 (patch) | |
tree | 5ffd3200ab705b6149e6c65f6407ea5a6a16eafe | |
parent | d980ede4d80dfe0f9271275017e481072487cb6f (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 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() } } |