File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,11 @@ build_script:
290290 {
291291 Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append
292292 }
293- Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip
293+
294+ & cd .. > $null
295+ Rename-Item -NewName build-$env:BOARD_NAME -Path "build" -Force
296+
297+ Push-AppveyorArtifact build-$env:BOARD_NAME\$env:BOARD_NAME-$env:GitVersion_SemVer.zip
294298
295299 # upload package only if this not a PR
296300 # and this is 'develop' (not develop-something) or release or master (for these only on tags)
@@ -321,8 +325,6 @@ build_script:
321325 }
322326 }
323327
324- & cd .. > $null
325- Rename-Item -NewName build-$env:BOARD_NAME -Path "build" -Force
326328 & md build > $null
327329 & cd build > $null
328330 }
@@ -331,9 +333,7 @@ build_script:
331333 }
332334
333335before_deploy :
334- - ps : |
335-
336- & $env:APPVEYOR_BUILD_FOLDER\generate-change-log.ps1
336+ - ps : $env:APPVEYOR_BUILD_FOLDER\generate-change-log.ps1
337337
338338# requires APPVEYOR_DISCORD_WEBHOOK_URL enviroment variable set with Discord webhook URL
339339on_failure :
You can’t perform that action at this time.
0 commit comments