Skip to content

Commit

Permalink
Update dotnet-desktop-windows.yml
Browse files Browse the repository at this point in the history
Comment unnecessary step
  • Loading branch information
hmz777 authored Nov 19, 2023
1 parent 5287674 commit 46493b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnet-desktop-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
with:
versionSpec: '5.x'

- name: Set assembly version environment variables
if: contains(env.Release_Version, '-')
run: |
$AssemblyVersion=$env:Release_Version.split('-')[0]
$FileVersion=$env:Release_Version.split('-')[0]
echo "Assembly_Version=$AssemblyVersion" >> $env:GITHUB_ENV
echo "File_Version=$FileVersion" >> $env:GITHUB_ENV
# - name: Set assembly version environment variables
# if: contains(env.Release_Version, '-')
# run: |
# $AssemblyVersion=$env:Release_Version.split('-')[0]
# $FileVersion=$env:Release_Version.split('-')[0]
# echo "Assembly_Version=$AssemblyVersion" >> $env:GITHUB_ENV
# echo "File_Version=$FileVersion" >> $env:GITHUB_ENV

- name: Update assembly version with GitVersion
run: dotnet-gitversion /updateprojectfiles
Expand Down

0 comments on commit 46493b7

Please sign in to comment.