Skip to content

Commit

Permalink
add more detail to error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Nov 22, 2023
1 parent 3cc0744 commit e1689da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/GenerateRelease-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
$ExeVersion = $(Get-Item publish/VolumeControl.exe).VersionInfo.ProductVersion
$CsprojVersion = $(.\.github\workflows\scripts\SetProperty.ps1 VolumeControl/VolumeControl.csproj Version -Quiet)
if ($ExeVersion -ne $CsprojVersion) { echo "The executable's product version differs from the one in the CSPROJ file!" ; exit 1 }
if ($ExeVersion -ne $CsprojVersion) { echo "The executable's product version ($ExeVersion) differs from the one in the CSPROJ file ($CsprojVersion)!" ; exit 1 }
- name: Stage Binary (Portable Version)
run: foreach($file in $((dir "publish" | where {$_.extension -in ".exe"}).Fullname)){ mv "$file" "STAGING" }
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
run: |
$ExeVersion = $(Get-Item publish/installer/VolumeControl.exe).VersionInfo.ProductVersion
$CsprojVersion = $(.\.github\workflows\scripts\SetProperty.ps1 VolumeControl/VolumeControl.csproj Version -Quiet)
if ($ExeVersion -ne $CsprojVersion) { echo "The executable's product version differs from the one in the CSPROJ file!" ; exit 1 }
if ($ExeVersion -ne $CsprojVersion) { echo "The executable's product version ($ExeVersion) differs from the one in the CSPROJ file ($CsprojVersion)!" ; exit 1 }
- name: Compile VolumeControl Installer
uses: Minionguyjpro/[email protected]
Expand Down

0 comments on commit e1689da

Please sign in to comment.