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 2222 run : echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
2323 - name : Replace version hash
2424 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)"
2626 - name : Commit updated version
2727 run : |
2828 git config --global user.name "Wasp Bot"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use windows::{
1515 } ,
1616} ;
1717
18- const VERSION : const VERSION : & str = "e7167fc" str = "1a698d8 ";
18+ const VERSION : & str = "e7167fc" ;
1919const SHARED_MEM_NAME : & [ u8 ] = b"WASPINPUT_DATA\0 " ;
2020const IMAGE_DATA_SIZE : usize = 33177602 ;
2121
You can’t perform that action at this time.
0 commit comments