diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-05-13 10:38:41 +0200 |
|---|---|---|
| committer | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-05-16 02:04:19 +0200 |
| commit | 8ef7e68411362b0685b6af4e1d371ec143f131d1 (patch) | |
| tree | 14873b3c39c9d2b51180b122aada58d6a0070ff8 | |
| parent | 7f7b95ba115a2edc8e3c66639ce9babecbce483c (diff) | |
| download | mullvadvpn-8ef7e68411362b0685b6af4e1d371ec143f131d1.tar.xz mullvadvpn-8ef7e68411362b0685b6af4e1d371ec143f131d1.zip | |
Clarify side-effect in docstring
| -rw-r--r-- | mullvad-version/build.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mullvad-version/build.rs b/mullvad-version/build.rs index 5d89044869..1714d54d9f 100644 --- a/mullvad-version/build.rs +++ b/mullvad-version/build.rs @@ -44,8 +44,9 @@ fn main() { .unwrap(); } -/// Returns the Mullvad product version from the corresponding metadata files, -/// depending on target platform. +/// Computes the Mullvad product version using the latest release on the given platform and the git +/// hash pointed to by `HEAD`. Also triggers a rebuild of this crate when the information becomes +/// outdated. fn get_product_version(target: Target) -> String { let version_file_path = match target { Target::Android => ANDROID_VERSION_FILE_PATH, |
