File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
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- HASH=$(git rev-parse --short HEAD)
26- sed -i "s/^const VERSION: &str = \".*\";/const VERSION: &str = \"${HASH}\";/" src/shared/memory.rs
25+ sed -i "s/^const VERSION: &str = \".*\";/const VERSION: &str = \"$COMMIT_HASH\";/" src/shared/memory.rs
2726 - name : Commit updated version
2827 run : |
2928 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 = "f23a38f" ; str = "e7167fc" ;
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