mirror of
https://github.com/Pathoschild/SMAPI.git
synced 2026-10-12 02:08:51 +00:00
add hour + minute to dev alpha versions
This commit is contained in:
@@ -88,8 +88,8 @@ jobs:
|
||||
shell: pwsh
|
||||
run: |
|
||||
$updatedPatch = [int]${{steps.smapi-version.outputs.smapi_patch}} + 1
|
||||
$date = Get-Date -Format 'yyyyMMdd'
|
||||
$updatedVersion = "${{steps.smapi-version.outputs.smapi_major}}.${{steps.smapi-version.outputs.smapi_minor}}.$updatedPatch-alpha.$date"
|
||||
$timestamp = Get-Date -Format 'yyyyMMdd-HHmm'
|
||||
$updatedVersion = "${{steps.smapi-version.outputs.smapi_major}}.${{steps.smapi-version.outputs.smapi_minor}}.$updatedPatch-alpha.$timestamp"
|
||||
|
||||
"VERSION=$updatedVersion" | Out-File $env:GITHUB_ENV -Append
|
||||
|
||||
|
||||
Reference in New Issue
Block a user