You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4 KiB

  1. version: 'BSIPA-{branch}-{build}'
  2. environment:
  3. bsipa_version: '3.11.1'
  4. pull_requests:
  5. do_not_increment_build_number: true
  6. install:
  7. - git submodule update --init --recursive
  8. - nuget restore
  9. image: Visual Studio 2017
  10. configuration: Release
  11. platform: x64
  12. cache:
  13. - '%LocalAppData%\NuGet\v3-cache' # NuGet v3
  14. artifacts:
  15. - path: IPA/bin/$(configuration)
  16. build:
  17. verbosity: normal
  18. project: BSIPA.sln
  19. skip_tags: true
  20. deploy:
  21. - provider: GitHub
  22. release: BSIPA $(bsipa_version)-draft
  23. tag: $(bsipa_version)
  24. description: |
  25. **Build:** $(bsipa_version)-$(APPVEYOR_BUILD_NUMBER) ({branch}) [$(configuration)|$(platform)]
  26. **Latest Commit:** $(APPVEYOR_REPO_COMMIT)
  27. - `$(APPVEYOR_REPO_COMMIT_MESSAGE)`
  28. - `%APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED%`
  29. auth_token:
  30. secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
  31. artifact: IPA/Bin/$(configuration).zip
  32. draft: true
  33. force_update: true
  34. - provider: GitHub
  35. release: BSIPA $(bsipa_version)-pre
  36. tag: $(bsipa_version)-pre-$(APPVEYOR_BUILD_NUMBER)
  37. description: |
  38. [![Build status](https://ci.appveyor.com/api/projects/status/fql702mky0d5bcky?svg=true)](https://ci.appveyor.com/project/nike4613/beatsaber-ipa-reloaded)
  39. $(APPVEYOR_REPO_COMMIT_MESSAGE)
  40. auth_token:
  41. secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
  42. artifact: IPA/Bin/$(configuration).zip
  43. prerelease: true
  44. force_update: true
  45. on:
  46. branch: master