forked from stakira/OpenUtau
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
61 lines (61 loc) · 1.72 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 0.1.{build}
environment:
access_token:
secure: VoTH2ml/pRgjLSGhfPO+NZfCoFzFcfrQjEIl/5+0UufeW6mEvccfwvef3gOaD2ke
image:
- Visual Studio 2022
- macOS
- Ubuntu
branches:
only:
- master
skip_commits:
files:
- docs/*
message: /\[nobuild\]/
skip_tags: true
pull_requests:
do_not_increment_build_number: true
configuration: Release
dotnet_csproj:
patch: true
file: 'OpenUtau\OpenUtau.csproj'
version: "{version}"
before_build:
- ps: git config --global credential.helper store
- ps: Set-Content -Path "$HOME\.git-credentials" -Value "https://$($env:access_token):[email protected]`n" -NoNewline
- ps: git config --global user.email "[email protected]"
- ps: git config --global user.name "appveyor"
- cmd: nuget restore
after_test:
- ps: python appveyor.py 2>&1
artifacts:
- path: bin\win-x86
name: OpenUtau-win-x86
type: zip
- path: bin\win-x64
name: OpenUtau-win-x64
type: zip
- path: OpenUtau-osx-x64.dmg
- path: OpenUtau-linux-x64.tar.gz
- path: appcast.win-x86.xml
- path: appcast.win-x64.xml
- path: appcast.linux-x64.xml
- path: appcast.osx-x64.xml
- path: changelog.txt
deploy:
- provider: GitHub
tag: build/$(APPVEYOR_BUILD_VERSION)
release: $(APPVEYOR_BUILD_VERSION)
description: $(APPVEYOR_BUILD_VERSION) $(APPVEYOR_REPO_COMMIT_TIMESTAMP)
auth_token:
secure: VoTH2ml/pRgjLSGhfPO+NZfCoFzFcfrQjEIl/5+0UufeW6mEvccfwvef3gOaD2ke
draft: false
prerelease: false
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: false
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:discord_webhook