File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ jobs:
2424 with :
2525 dotnet-version : 8.0.x
2626 - name : Rename executable for beta
27- if : contains('${{ github.ref_name }}' , '-beta')
27+ if : contains(github.ref_name, '-beta')
2828 run : |
2929 pushd
3030 cd ./dev-proxy
3131 $content = Get-Content dev-proxy.csproj
3232 $content -replace '<AssemblyName>devproxy</AssemblyName>', '<AssemblyName>devproxy-beta</AssemblyName>' | Set-Content dev-proxy.csproj
3333 popd
3434 - name : Set newVersionNotification for beta
35- if : contains('${{ github.ref_name }}' , '-beta')
35+ if : contains(github.ref_name, '-beta')
3636 run : |
3737 pushd
3838 cd ./dev-proxy
8686 if : contains(matrix.architecture, 'win-')
8787 run : cp ./media/icon.ico ./${{ env.release }}
8888 - name : Update version in beta installer
89- if : contains(matrix.architecture, 'win-') && contains('${{ github.ref_name }}' , '-beta')
89+ if : contains(matrix.architecture, 'win-') && contains(github.ref_name, '-beta')
9090 run : |
9191 $content = Get-Content ./install-beta.iss
9292 $content -replace '#define MyAppVersion .*', "#define MyAppVersion `"$("${{ github.ref_name }}".Substring(1))`"" | Set-Content ./install-beta.iss
You can’t perform that action at this time.
0 commit comments