Skip to content

Commit

Permalink
👷 ✨ added deployment on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
chriamue committed Jul 2, 2021
1 parent 3e7b891 commit 117d476
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ set(META_AUTHOR_ORGANIZATION "lenna-project")
set(META_AUTHOR_DOMAIN "https://github.com/lenna-project/")
set(META_AUTHOR_MAINTAINER "[email protected]")
set(META_VERSION_MAJOR "0")
set(META_VERSION_MINOR "13")
set(META_VERSION_MINOR "14")
set(META_VERSION_PATCH "0")
set(META_VERSION_REVISION "${GIT_REV}")
set(META_VERSION "${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}")
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.0
0.14.0
33 changes: 24 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "{build}"
branches:
only:
- main

skip_non_tags: true

clone_folder: c:\projects\lenna
image:
- Visual Studio 2017
Expand All @@ -11,8 +11,8 @@ platform:
- x64
environment:
matrix:
- GENERATOR : "Visual Studio 15 2017"
ARCHITECTURE : "-A x64"
- GENERATOR: "Visual Studio 15 2017"
ARCHITECTURE: "-A x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTDIR: C:\Qt\5.13.2\msvc2017_64
PLATFORM: x64
Expand Down Expand Up @@ -43,10 +43,10 @@ build:
parallel: true

after_build:
- cmd: |-
cd c:\projects\lenna\build
cmake --build . --target pack
dir
- cmd: |-
cd c:\projects\lenna\build
cmake --build . --target pack
dir
only_commits:
files:
Expand All @@ -58,4 +58,19 @@ only_commits:
artifacts:
- path: 'build\Release\lenna.exe'
- path: 'build\*.exe'
name: installer
- path: 'build\*.zip'

deploy:
- provider: GitHub
auth_token:
secure: qgNDEr0uvXPJrujCdr3B45ibV7Llee5FrFthLvHOLE0h+i1x50XEZzdnAh7omZdC
artifact: installer
draft: false
prerelease: false
tag: $(APPVEYOR_REPO_TAG_NAME)
release: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
force_update: true
on:
APPVEYOR_REPO_TAG: true

0 comments on commit 117d476

Please sign in to comment.