1 parent 8526039 commit 2e21b62Copy full SHA for 2e21b62
1 file changed
.github/workflows/build.yml
@@ -37,8 +37,9 @@ jobs:
37
if: github.ref_type == 'tag'
38
run: |
39
$tag = $env:GITHUB_REF -replace 'refs/tags/', ''
40
- (Get-Content -Path "vSMR\SMRPlugin.hpp") -replace '#define MY_PLUGIN_VERSION.*', "#define MY_PLUGIN_VERSION \"$tag\"" | Set-Content -Path "vSMR\SMRPlugin.hpp"
41
-
+ (Get-Content -Path "vSMR\SMRPlugin.hpp") -replace '#define MY_PLUGIN_VERSION.*', "#define MY_PLUGIN_VERSION `"$tag`"" | Set-Content -Path "vSMR\SMRPlugin.hpp"
+ shell: pwsh
42
+
43
- name: Build DLL
44
run: msbuild vSMR.sln /p:Configuration=Release /p:Platform='Win32' /p:VcpkgTriplet=x86-windows-static /m
45
0 commit comments