File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ use std::{
3
3
process:: Command ,
4
4
} ;
5
5
6
- const BOOTLOADER_X86_64_UEFI_VERSION : & str = "0.11.0-beta" ;
6
+ const BOOTLOADER_X86_64_UEFI_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
7
7
8
- const BOOTLOADER_X86_64_BIOS_BOOT_SECTOR_VERSION : & str = "0.1.0-beta.1" ;
9
- const BOOTLOADER_X86_64_BIOS_STAGE_2_VERSION : & str = "0.1.0-beta" ;
10
- const BOOTLOADER_X86_64_BIOS_STAGE_3_VERSION : & str = "0.1.0-beta" ;
11
- const BOOTLOADER_X86_64_BIOS_STAGE_4_VERSION : & str = "0.11.0-beta" ;
8
+ const BOOTLOADER_X86_64_BIOS_BOOT_SECTOR_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
9
+ const BOOTLOADER_X86_64_BIOS_STAGE_2_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
10
+ const BOOTLOADER_X86_64_BIOS_STAGE_3_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
11
+ const BOOTLOADER_X86_64_BIOS_STAGE_4_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
12
12
13
13
fn main ( ) {
14
14
let out_dir = PathBuf :: from ( std:: env:: var ( "OUT_DIR" ) . unwrap ( ) ) ;
You can’t perform that action at this time.
0 commit comments