Skip to content

Commit

Permalink
Fixes beta release (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz authored Apr 25, 2024
1 parent c28d5a5 commit c7f90f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
with:
dotnet-version: 8.0.x
- name: Rename executable for beta
if: contains('${{ github.ref_name }}', '-beta')
if: contains(github.ref_name, '-beta')
run: |
pushd
cd ./dev-proxy
$content = Get-Content dev-proxy.csproj
$content -replace '<AssemblyName>devproxy</AssemblyName>', '<AssemblyName>devproxy-beta</AssemblyName>' | Set-Content dev-proxy.csproj
popd
- name: Set newVersionNotification for beta
if: contains('${{ github.ref_name }}', '-beta')
if: contains(github.ref_name, '-beta')
run: |
pushd
cd ./dev-proxy
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
if: contains(matrix.architecture, 'win-')
run: cp ./media/icon.ico ./${{ env.release }}
- name: Update version in beta installer
if: contains(matrix.architecture, 'win-') && contains('${{ github.ref_name }}', '-beta')
if: contains(matrix.architecture, 'win-') && contains(github.ref_name, '-beta')
run: |
$content = Get-Content ./install-beta.iss
$content -replace '#define MyAppVersion .*', "#define MyAppVersion `"$("${{ github.ref_name }}".Substring(1))`"" | Set-Content ./install-beta.iss
Expand Down

0 comments on commit c7f90f0

Please sign in to comment.