-
-
Notifications
You must be signed in to change notification settings - Fork 623
/
appveyor.yml
51 lines (43 loc) · 1.3 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
version: '{branch}/{build}'
image: Visual Studio 2019
configuration: Release
platform: x64
install:
- ps: ".\\tools\\install_sdk.ps1"
- cmd: >-
if defined APPVEYOR_REPO_TAG_NAME (set SHVDN_VERSION_TAG=%APPVEYOR_REPO_TAG_NAME%) else (for /f %%i in ('git describe --abbrev^=0 --tags') do set SHVDN_VERSION_TAG=%%i)
set SHVDN_VERSION=%SHVDN_VERSION_TAG:~1%
echo Version: "%SHVDN_VERSION%"
build:
project: ScriptHookVDotNet.sln
publish_nuget: true
parallel: true
verbosity: minimal
before_package:
- cmd: >-
del bin\Release\ScriptHookVDotNet*.metagen
type README.md | more /P > bin\Release\README.txt
type LICENSE.txt | more /P > bin\Release\LICENSE.txt
echo ReloadKey=None > bin\Release\ScriptHookVDotNet.ini
echo ConsoleKey=F4 >> bin\Release\ScriptHookVDotNet.ini
test: off
artifacts:
- path: bin/Release/
name: ScriptHookVDotNet
deploy:
- provider: GitHub
tag: $(appveyor_repo_tag_name)
release: ScriptHookVDotNet $(appveyor_repo_tag_name)
auth_token:
secure: K1OU6FfCqm6FfpDYZexM5t6legoDpJs+PtRwVbnuSuuGsXO/jDcA7wGUWj5JSx5H
artifact: ScriptHookVDotNet
draft: true
on:
branch: main
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: 4803INtOGJwqBUIaW7pQv3hfF8YKQHXZ6HiwS9rRMZ9tBjbmi6dY1LoeNBVAkCGI
on:
branch: main
appveyor_repo_tag: true