mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09:00
Update deploy script
This commit is contained in:
parent
59277de0df
commit
fe35c0220a
@ -1,6 +1,6 @@
|
|||||||
clone_depth: 1
|
clone_depth: 1
|
||||||
version: '{branch}-{build}'
|
version: '{branch}-{build}'
|
||||||
image: Visual Studio 2017 preview
|
image: Visual Studio 2017
|
||||||
configuration: Debug
|
configuration: Debug
|
||||||
cache:
|
cache:
|
||||||
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
||||||
|
@ -1,29 +1,26 @@
|
|||||||
branches:
|
|
||||||
only:
|
|
||||||
- release
|
|
||||||
skip_tags: true
|
|
||||||
skip_branch_with_pr: true
|
|
||||||
clone_depth: 1
|
clone_depth: 1
|
||||||
version: '{branch}-{build}'
|
version: '{build}'
|
||||||
|
skip_non_tags: true
|
||||||
image: Visual Studio 2017
|
image: Visual Studio 2017
|
||||||
configuration: Debug
|
|
||||||
cache:
|
cache:
|
||||||
- packages -> **\packages.config
|
- '%USERPROFILE%\.nuget\packages -> **\*.csproj'
|
||||||
install:
|
install:
|
||||||
- cmd: git submodule update --init --recursive --depth=5
|
- git clone https://github.com/ppy/osu-deploy
|
||||||
before_build:
|
before_build:
|
||||||
|
- ps: if($env:appveyor_repo_tag -eq 'True') { Update-AppveyorBuild -Version $env:appveyor_repo_tag_name }
|
||||||
|
- cmd: git submodule update --init --recursive --depth=5
|
||||||
- cmd: nuget restore -verbosity quiet
|
- cmd: nuget restore -verbosity quiet
|
||||||
build:
|
build_script:
|
||||||
project: osu.Desktop.Deploy/osu.Desktop.Deploy.csproj
|
|
||||||
verbosity: minimal
|
|
||||||
after_build:
|
|
||||||
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
|
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
|
||||||
- appveyor DownloadFile https://puu.sh/A6g5K/4d08705438.enc # signing certificate
|
- appveyor DownloadFile https://puu.sh/A6g5K/4d08705438.enc # signing certificate
|
||||||
- cmd: appveyor-tools\secure-file -decrypt 4d08705438.enc -secret %decode_secret% -out %HOMEPATH%\deanherbert.pfx
|
- cmd: appveyor-tools\secure-file -decrypt 4d08705438.enc -secret %decode_secret% -out %HOMEPATH%\deanherbert.pfx
|
||||||
- appveyor DownloadFile https://puu.sh/A6g75/fdc6f19b04.enc # deploy configuration
|
- appveyor DownloadFile https://puu.sh/A6g75/fdc6f19b04.enc # deploy configuration
|
||||||
- cmd: appveyor-tools\secure-file -decrypt fdc6f19b04.enc -secret %decode_secret% -out osu.Desktop.Deploy\bin\Debug\net471\osu.Desktop.Deploy.exe.config
|
- cd osu-deploy
|
||||||
- cd osu.Desktop.Deploy\bin\Debug\net471\
|
- nuget restore -verbosity quiet
|
||||||
- osu.Desktop.Deploy.exe %code_signing_password%
|
- msbuild osu.Desktop.Deploy.csproj
|
||||||
|
- cmd: ..\appveyor-tools\secure-file -decrypt ..\fdc6f19b04.enc -secret %decode_secret% -out bin\Debug\net471\osu.Desktop.Deploy.exe.config
|
||||||
|
- cd bin\Debug\net471\
|
||||||
|
- osu.Desktop.Deploy.exe %code_signing_password% %APPVEYOR_REPO_TAG_NAME%
|
||||||
environment:
|
environment:
|
||||||
TargetFramework: net471
|
TargetFramework: net471
|
||||||
decode_secret:
|
decode_secret:
|
||||||
@ -31,4 +28,7 @@ environment:
|
|||||||
code_signing_password:
|
code_signing_password:
|
||||||
secure: 34tLNqvjmmZEi97MLKfrnQ==
|
secure: 34tLNqvjmmZEi97MLKfrnQ==
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: 'Releases\*'
|
- path: 'Releases\*'
|
||||||
|
deploy:
|
||||||
|
- provider: Environment
|
||||||
|
name: github
|
Loading…
x
Reference in New Issue
Block a user