Skip to content

Commit b441ae8

Browse files
committed
fix: hash commit
1 parent e6e281d commit b441ae8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ jobs:
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"

src/shared/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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";
1919
const SHARED_MEM_NAME: &[u8] = b"WASPINPUT_DATA\0";
2020
const IMAGE_DATA_SIZE: usize = 33177602;
2121

0 commit comments

Comments
 (0)