-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
30 lines (30 loc) · 1002 Bytes
/
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
install:
- set "PYTHON27=C:\\Python27\\python.exe"
- set "PYTHON38=C:\\Python38-x64\\python.exe"
- set "PATH=C:\\msys64\\usr\\bin;C:\Python38-x64\Scripts;%PATH%"
- "%PYTHON27% -m pip install -U pip"
- "%PYTHON38% -m pip install -r ./docs/dev-requirements.txt"
build_script:
- make build
after_build:
- 7z a -tzip -xr!.* -xr0!build build\\WuLiFang-Nuke-%APPVEYOR_REPO_TAG_NAME%-win.zip
artifacts:
- path: build\WuLiFang-Nuke-*.zip
name: Built package
before_deploy:
- git checkout origin/master -- ./docs/changelog.md
- ps: |
${env:APPVEYOR_RELEASE_DESCRIPTION} = ./scripts/get_changelog.ps1 -Version $env:APPVEYOR_REPO_TAG_NAME
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
release: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_RELEASE_DESCRIPTION)
provider: GitHub
auth_token:
secure: F3Yyeg/9CKfhBQ6baTP5XsOqnquey/5hXl1EtPqmk0WptSzV6STE7M4Pa+BJnTZ2
artifact: /.*\.zip/
draft: false
prerelease: false
on:
branch: /v.+/
APPVEYOR_REPO_TAG: true