Skip to content

Commit

Permalink
Automate release of Windows installer. (#1999)
Browse files Browse the repository at this point in the history
Closes #1977
  • Loading branch information
Daniel15 committed Nov 28, 2016
1 parent 5b6b6c0 commit e55390a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,12 @@ notifications:
Authorization:
secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt
on_build_failure: false

deploy:
- provider: Webhook
url: https://nightly.yarnpkg.com/release_appveyor
authorization:
secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt
on:
branch: /^.*-stable$/
appveyor_repo_tag: true
4 changes: 2 additions & 2 deletions resources/winsetup/YarnSetup.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@
/>
</Target>
<Target Name="AfterBuild">
<!-- Rename installer to yarn-[version].msi -->
<!-- Rename installer to yarn-[version]-unsigned.msi -->
<Copy
SourceFiles="$(OutputPath)\Yarn.msi"
DestinationFiles="$(YarnDistPath)\..\artifacts\yarn-$(YarnVersion).msi"
DestinationFiles="$(YarnDistPath)\..\artifacts\yarn-$(YarnVersion)-unsigned.msi"
/>
</Target>
</Project>

0 comments on commit e55390a

Please sign in to comment.