File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff 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+ }
1923cache : C:\Users\appveyor\.gradle
2024build_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
You can’t perform that action at this time.
0 commit comments