Skip to content

Commit

Permalink
Remove escape in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
gunpuz committed Jul 31, 2024
1 parent c2fda29 commit d71bcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
$PROJECT_FILE=".\Tilde.Translation\Tilde.Translation.csproj"
$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
(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
Expand Down

0 comments on commit d71bcf7

Please sign in to comment.