Appveyor GitHub release (#139)
This commit is contained in:
parent
562a659195
commit
5416bb15c3
3
Makefile
3
Makefile
@ -1,8 +1,9 @@
|
||||
VERSION_STR := $(shell python -c 'import comictaggerlib.ctversion; print( comictaggerlib.ctversion.version)')
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
OS_VERSION=win-$(PROCESSOR_ARCHITECTURE)
|
||||
APP_NAME=comictagger.exe
|
||||
FINAL_NAME=ComicTagger-$(VERSION_STR).exe
|
||||
FINAL_NAME=ComicTagger-$(VERSION_STR)-$(OS_VERSION).exe
|
||||
else ifeq ($(shell uname -s),Darwin)
|
||||
OS_VERSION=osx-$(shell defaults read loginwindow SystemVersionStampAsString)-$(shell uname -m)
|
||||
APP_NAME=ComicTagger.app
|
||||
|
16
appveyor.yml
16
appveyor.yml
@ -2,5 +2,17 @@ version: 1.0.{build}
|
||||
build_script:
|
||||
- cmd: powershell -exec bypass -File windows\fullbuild.ps1
|
||||
artifacts:
|
||||
- path: dist\*.exe
|
||||
name: ComicTagger
|
||||
- path: dist\*.zip
|
||||
name: ComicTagger
|
||||
deploy:
|
||||
description: New Windows Release
|
||||
provider: GitHub
|
||||
auth_token:
|
||||
secure: GftVXNVTfnfWxlCIWNsufQjgrLqGPbrhK7bddzZ+6onYbbx6vEKWku0QMZjcxq/D
|
||||
draft: true
|
||||
prerelease: false
|
||||
artifact: ComicTagger
|
||||
on:
|
||||
branch: master
|
||||
APPVEYOR_REPO_TAG: true
|
||||
|
@ -1,5 +0,0 @@
|
||||
# to be run inside comictagger folder
|
||||
# installs conda and pip dependencies
|
||||
activate comictagger
|
||||
conda install -y pyqt=4
|
||||
pip install -r .\requirements.txt
|
@ -1,3 +0,0 @@
|
||||
$env:PATH+=";C:\ProgramData\Miniconda2\Scripts;C:\ProgramData\Miniconda2"
|
||||
$env:PATH+=";C:\tools\mingw64\bin"
|
||||
Set-Alias make mingw32-make.exe -scope Global
|
@ -1,5 +1,5 @@
|
||||
# Script to be run inside appveyor for a full build
|
||||
choco install -y mingw
|
||||
choco install -y mingw zip
|
||||
refreshenv
|
||||
$env:PATH="C:\Python36-x64;$env:path"
|
||||
python -m venv venv
|
||||
|
@ -1,11 +0,0 @@
|
||||
# This script should be run into an admin PowerShell to install all required
|
||||
# packages needed for building comictagger on windows
|
||||
#
|
||||
# NOTE: this script has not been fully tested on a fresh windows VM.
|
||||
#
|
||||
# install chocolatey
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
choco install -y git mingw miniconda
|
||||
$env:PATH+=";C:\ProgramData\Miniconda2\Scripts;C:\ProgramData\Miniconda2"
|
||||
$env:PATH+=";C:\tools\mingw64\bin"
|
||||
conda create -y --name comictagger python=2
|
Loading…
Reference in New Issue
Block a user