Skip to content

Commit abbdde3

Browse files
committed
Updates appveyor deployment
1 parent 81012dc commit abbdde3

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

appveyor.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@ install:
1515
npm install vsce -g
1616
1717
18-
./gradlew clean --no-daemon
18+
If (Test-Path Env:APPVEYOR_REPO_TAG_NAME) {
19+
./gradlew clean -PjenkinsBuild -PreleaseType=OFFICIAL --continue --no-daemon
20+
} Else {
21+
./gradlew clean -PjenkinsBuild --continue --no-daemon
22+
}
1923
cache: C:\Users\appveyor\.gradle
2024
build_script:
2125
- ps: >-
22-
./gradlew build updateVersions --continue --no-daemon
26+
If (Test-Path Env:APPVEYOR_REPO_TAG_NAME) {
27+
./gradlew build updateVersions -PjenkinsBuild -PreleaseType=OFFICIAL --continue --no-daemon
28+
} Else {
29+
./gradlew build updateVersions -PjenkinsBuild --continue --no-daemon
30+
}
2331
2432
if ($lastexitcode -ne 0) {
2533
throw ("Exec: " + $errorMessage)
@@ -40,3 +48,10 @@ artifacts:
4048
name: Jars
4149
- path: '**/*.vsix'
4250
name: VSIX
51+
deploy:
52+
- provider: GitHub
53+
auth_token:
54+
secure: jecQI2sLa3l2Ubgls0IS5xeqCezIqisLyC4y8VSm7JZzXM7r+wWc7Fs7aoCQJ51G
55+
artifact: /.*\.*/
56+
on:
57+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)