Skip to content

Commit c7f90f0

Browse files
Fixes beta release (#675)
1 parent c28d5a5 commit c7f90f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/create-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -86,7 +86,7 @@ jobs:
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

0 commit comments

Comments
 (0)