use build.rs to pass REPOID to rustc-env

This commit is contained in:
Dietmar Maurer committed 2021-05-07 10:11:39 +02:00
1 parent 572cd0381b
commit d8769d659e
3 files changed
+26 -1

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ pub const PROXMOX_PKG_VERSION: &str =
env!("CARGO_PKG_VERSION_MINOR"),
);
pub const PROXMOX_PKG_RELEASE: &str = env!("CARGO_PKG_VERSION_PATCH");
pub const PROXMOX_PKG_REPOID: &str = env!("CARGO_PKG_REPOSITORY");
pub const PROXMOX_PKG_REPOID: &str = env!("REPOID");
fn get_version(
_param: Value,