Skip to content

Commit a336a83

Browse files
authored
Update build.yaml
1 parent 03bff4e commit a336a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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 = \"\)[a-f0-9]\{7\}\"/\1$COMMIT_HASH\"/" src/shared/memory.rs"
25+
sed -i "s/const VERSION: &str = \"[a-f0-9]\{7\}\"/const VERSION: \&str = \"$COMMIT_HASH\"/" src/shared/memory.rs
2626
- name: Commit updated version
2727
run: |
2828
git config --global user.name "Wasp Bot"
@@ -124,4 +124,4 @@ jobs:
124124
artifacts/i686-pc-windows-msvc-dll/${{ env.NAME_WIN32 }} \
125125
artifacts/x86_64-pc-windows-msvc-dll/${{ env.NAME_WIN64 }} \
126126
--title "${{ env.TAG_NAME }}" \
127-
--notes "Automated plugin release"
127+
--notes "Automated plugin release"

0 commit comments

Comments
 (0)