Skip to content

Commit 573af09

Browse files
authored
Update appveyor.yml
1 parent 2c6bfae commit 573af09

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

appveyor.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,27 @@ build_script:
330330
}
331331
}
332332
333+
before_deploy:
334+
- ps: |
335+
336+
& $env:APPVEYOR_BUILD_FOLDER\generate-change-log.ps1
337+
333338
# requires APPVEYOR_DISCORD_WEBHOOK_URL enviroment variable set with Discord webhook URL
334339
on_failure:
335340
- ps: |
336341
337342
& $env:APPVEYOR_BUILD_FOLDER\appveyor-discord.ps1 failure $env:APPVEYOR_DISCORD_WEBHOOK_URL
338343
339-
before_deploy:
340-
- ps: .\generate-change-log.ps1
344+
deploy:
345+
- provider: GitHub
346+
tag: v$(GitVersion_SemVer)
347+
release: nanoFramework firmware images v$(GitVersion_SemVer)
348+
description: 'Check the [changelog](https://github.com/$(APPVEYOR_REPO_NAME)/blob/$(APPVEYOR_REPO_BRANCH)/CHANGELOG.md)\n\nDownload images from our Bintray repo. See the available images [here](https://github.com/$(APPVEYOR_REPO_NAME)/tree/master#firmware-for-reference-boards).'
349+
auth_token:
350+
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
351+
artifact:
352+
draft: true
353+
prerelease: true
354+
force_update: true
355+
on:
356+
appveyor_repo_tag: false

0 commit comments

Comments
 (0)