]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Allow setting version-tag option via VERSION_TAG env variable
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 15 Jan 2021 19:51:42 +0000 (20:51 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 15 Jan 2021 20:42:30 +0000 (21:42 +0100)
commitef1bd2349b4f1450273f10f344138ede1df1af56
treedd00f9df74b2ff5ea7dcfbe5273d8e4684efc561
parent2e445f4fe561339aa066c918ee2c6ac584922ddf
mkosi: Allow setting version-tag option via VERSION_TAG env variable

With https://github.com/systemd/mkosi/pull/630, we can set environment
variables for the build script in mkosi. Let's modify the build script
so we can set the version-tag option via an environment variable of the
same name. The default is the empty string which causes meson to fall
back to the default behavior (git version).
mkosi.build