File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
run : echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
23
23
- name : Replace version hash
24
24
run : |
25
- sed -i "s/const VERSION: &str = \".*\"/const VERSION: &str = \" $COMMIT_HASH\"/" src/shared/memory.rs
25
+ sed -i "s/\( const VERSION: &str = \"\)[a-f0-9]\{7\}\"/\1 $COMMIT_HASH\"/" src/shared/memory.rs)"
26
26
- name : Commit updated version
27
27
run : |
28
28
git config --global user.name "Wasp Bot"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use windows::{
15
15
} ,
16
16
} ;
17
17
18
- const VERSION : const VERSION : & str = "e7167fc" str = "1a698d8 ";
18
+ const VERSION : & str = "e7167fc" ;
19
19
const SHARED_MEM_NAME : & [ u8 ] = b"WASPINPUT_DATA\0 " ;
20
20
const IMAGE_DATA_SIZE : usize = 33177602 ;
21
21
You can’t perform that action at this time.
0 commit comments