SHARE
TWEET

Untitled

a guest Aug 19th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '{branch}.{build}'
  2. skip_non_tags: true
  3. image: Visual Studio 2019 Preview
  4. configuration: Release
  5. platform: x86
  6. clone_folder: C:\git\BrawlCrate
  7. init:
  8. - sh: git config --global core.autocrlf true
  9. environment:
  10.   WEBHOOK_URL:
  11.     secure: CVdZwsWkudl7FrQJE2BnUcnwPUP8BwVaArKZhZqbpIp2glUqNEA9/TAqfEgiu/J7Mh7c26gvH1TQ5Wph+2FKfnmDhIC+ryFFjJxZlnsqvFePWdWIPGI9c+ZitLeXkwlZAVudEtVJIPnXqVJUXwFdU8B0+mJXQV2psebghOxHH7gQ7gt5nBhBAmyy1GxkZsMD
  12.   NET_VERSION: net472
  13.   CHANGELOG: temp
  14. before_build:
  15. - cmd: >-
  16.     appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  17.  
  18.     rustup-init -yv --default-toolchain stable --default-host i686-pc-windows-gnu
  19.  
  20.     set PATH=%PATH%;%USERPROFILE%\.cargo\bin
  21.  
  22.     rustc -vV
  23.  
  24.     cargo -vV
  25.  
  26.     cd C:\git\BrawlCrate\
  27.  
  28.     nuget restore
  29. build:
  30.   project: BrawlCrateTools.sln
  31.   verbosity: normal
  32. before_package:
  33. - cmd: >-
  34.     cd C:\git\BrawlCrate\BrawlCrate\bin\%PLATFORM%\%CONFIGURATION%\%NET_VERSION%
  35.  
  36.     "Updater.exe" -bcommitTime %APPVEYOR_REPO_COMMIT% master %APPVEYOR_REPO_NAME%
  37.  
  38.     "Updater.exe" -canaryOff
  39.  
  40.     7z -sfx7z.sfx a BrawlCrate%APPVEYOR_REPO_TAG_NAME%%PLATFORM%.exe
  41.  
  42.     "BrawlCrate.exe" /changelog
  43. artifacts:
  44. - path: BrawlCrate\bin\$(PLATFORM)\$(CONFIGURATION)\$(NET_VERSION)\BrawlCrate$(APPVEYOR_REPO_TAG_NAME)$(PLATFORM).exe
  45.   name: BrawlCrate
  46. - path: BrawlCrate\bin\$(PLATFORM)\$(CONFIGURATION)\$(NET_VERSION)\changelog-newest.txt
  47.   name: changelog
  48. before_deploy:
  49. - ps: >-
  50.     $env:CHANGELOG = Get-Content -path "C:\git\BrawlCrate\BrawlCrate\bin\$env:PLATFORM\$env:CONFIGURATION\$env:NET_VERSION\changelog-newest.txt"
  51.  
  52.     $env:CHANGELOG
  53. deploy:
  54. - provider: GitHub
  55.   tag: $(APPVEYOR_REPO_TAG_NAME)
  56.   release: BrawlCrate $(APPVEYOR_REPO_TAG_NAME)
  57.   description: $(CHANGELOG)
  58.   auth_token:
  59.     secure: lvzzKExRQTD/gXlNB5zH510G8fDsP1ghepjLc5X6ITdEM4GF1AQU9K+o2/u/haMj
  60.   artifact: changelog
  61.   force_update: true
  62.   on:
  63.     branch: /^(?!Canary.*$).*/
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top