Skip to content

Commit

Permalink
use dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianStadlberger committed Apr 2, 2020
1 parent 5f468aa commit cec4370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
git config --global user.email "fiskaltrust@fiskaltrust.cloud"
git config --global user.name "fiskaltrust"
$date = "$(Get-Date -UFormat "%y")$("{0:D3}" -f (Get-Date).DayofYear)"
$versionPostfix = ".$date.$(Build.BuildId)"
$versionPostfix = "-$date-$(Build.BuildId)"
$versionContent = Get-Content 'version.json' -Raw | ConvertFrom-Json
$versionContent.version = "$($versionContent.version)$versionPostfix"
$versionContent | ConvertTo-Json -Depth 32 | Set-Content 'version.json'
Expand Down

0 comments on commit cec4370

Please sign in to comment.