Skip to content

Commit

Permalink
Fixed Push-AppveyorArtifact
Browse files Browse the repository at this point in the history
  • Loading branch information
VertigoRay committed Jan 1, 2023
1 parent 4c4bf7c commit b356e06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ init:
Write-Host 'Git Tag Push Detected. Exit the pipeline.' -ForegroundColor 'Black' -BackgroundColor 'DarkYellow'
Exit-AppveyorBuild
}
on:
APPVEYOR_REPO_TAG: 'true' # do on tag push only
- ps: $env:MODULE_VERSION = ((Get-Date -Format 'yyyy.MM.dd'), ((New-TimeSpan -Start ([datetime]::Today)).TotalSeconds -as [int])) -join '.'
- ps: Update-AppveyorBuild -Version ${env:MODULE_VERSION}

Expand Down Expand Up @@ -120,5 +118,5 @@ on_success:
if (-not $psake.build_success) {
$Host.SetShouldExit(1)
}
Push-AppveyorArtifact ([IO.Path]::Combine($env:APPVEYOR_BUILD_FOLDER, 'dev', 'PSRedstone.zip') -FileName ('PSRedstone.{0}.zip' -f $env:APPVEYOR_BUILD_VERSION)
Push-AppveyorArtifact ([IO.Path]::Combine($env:APPVEYOR_BUILD_FOLDER, 'dev', 'PSRedstone.zip')) -FileName ('PSRedstone.{0}.zip' -f $env:APPVEYOR_BUILD_VERSION)
}

0 comments on commit b356e06

Please sign in to comment.