Skip to content

Commit

Permalink
Checks for tags when building to build release
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed May 20, 2018
1 parent 0102abe commit 24d6e32
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,22 @@ branches:
skip_branch_with_pr: true
image: Visual Studio 2017
install:
- ps: ./gradlew clean -PjenkinsBuild --no-daemon
- ps: >-
If (Test-Path Env:APPVEYOR_REPO_TAG_NAME) {
./gradlew clean -PjenkinsBuild -PreleaseType=OFFICIAL --continue --no-daemon
} Else {
./gradlew clean -PjenkinsBuild --continue --no-daemon
}
cache: C:\Users\appveyor\.gradle
build_script:
- ps: ./gradlew build -PjenkinsBuild --continue --no-daemon
- ps: >-
If (Test-Path Env:APPVEYOR_REPO_TAG_NAME) {
./gradlew build -PjenkinsBuild -PreleaseType=OFFICIAL --continue --no-daemon
} Else {
./gradlew build -PjenkinsBuild --continue --no-daemon
}
test: off
artifacts:
- path: '**/libs/*'
Expand Down

0 comments on commit 24d6e32

Please sign in to comment.