Skip to content

Commit

Permalink
Add output of modified csproj file
Browse files Browse the repository at this point in the history
  • Loading branch information
gunpuz committed Jul 31, 2024
1 parent bf0fb1d commit 5503bd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
$BUILD_NUMBER="${{github.run_number}}"
echo "Build number: $BUILD_NUMBER"
(Get-Content -Path $PROJECT_FILE) -replace "(?<=<Version>)(\d+\.\d+\.\d+\.)(\d+)(?=</Version>)", "`$1$BUILD_NUMBER" | Set-Content -Path $PROJECT_FILE
# TMP output
cat $PROJECT_FILE
- name: Build app for release
run: msbuild Tilde.Translation\Tilde.Translation.csproj -t:rebuild -property:Configuration=Release
- name: Publish to private nuget repo
Expand Down

0 comments on commit 5503bd8

Please sign in to comment.