Fix AppVeyor collecting artifacts only when there is a DFU package
If($env:NEEDS_DFU -eq 'True')
{
Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
}
+ Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
#upload package only if this not a PR
if(!$env:APPVEYOR_PULL_REQUEST_NUMBER)
If($env:NEEDS_DFU -eq 'True')
{
Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
}
+ Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
#upload package only if this not a PR
if(!$env:APPVEYOR_PULL_REQUEST_NUMBER)
If($env:NEEDS_DFU -eq 'True')
{
Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
}
+ Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
# upload package only if this not a PR
# and this is 'develop' (not develop-something)
If($env:NEEDS_DFU -eq 'True')
{
Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
}
+ Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
# upload package only if this not a PR
# and this is 'develop' (not develop-something)
If($env:NEEDS_DFU -eq 'True')
{
Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
}
+ Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
#upload package only if this not a PR
if(!$env:APPVEYOR_PULL_REQUEST_NUMBER)
If($env:NEEDS_DFU -eq 'True')
{
Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
}
+ Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
#upload package only if this not a PR
if(!$env:APPVEYOR_PULL_REQUEST_NUMBER)
