diff options
| author | xengineering <me@xengineering.eu> | 2026-03-27 14:28:51 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-03-27 14:28:51 +0100 |
| commit | 6c920f59a20849deb882f60a3eab42b069914a7e (patch) | |
| tree | b3df9322eea42c74a35ca029395fc756000d6452 | |
| parent | 0fb9d297871e57372c469c6e8ca2b43813ed1f52 (diff) | |
| download | sia-server-6c920f59a20849deb882f60a3eab42b069914a7e.tar sia-server-6c920f59a20849deb882f60a3eab42b069914a7e.tar.zst sia-server-6c920f59a20849deb882f60a3eab42b069914a7e.zip | |
Move version string to VERSION.txt
This new files can easily be included into Meson and Go. Passing it from
Meson to Go or vice versa is not that easy.
Thus the version string is now maintained in a dedicated file.
| -rw-r--r-- | VERSION.txt | 1 | ||||
| -rw-r--r-- | meson.build | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/VERSION.txt b/VERSION.txt new file mode 100644 index 0000000..0d4d124 --- /dev/null +++ b/VERSION.txt @@ -0,0 +1 @@ +0.1.0-dev diff --git a/meson.build b/meson.build index 0738894..52a7f19 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project( 'sia-server', - version : '0.1.0-dev', + version : files('VERSION.txt'), ) go = find_program('go', required : true) |
