File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,12 @@ if ($env:APPVEYOR_FORCED_BUILD -eq 'true') {
34
34
ensureVersion
35
35
clearIvyCache
36
36
if ($env: mode -eq ' release' ) {
37
- echo " Running a release for $env: version "
38
- & cmd / c " sbt "" -Dproject.version=$env: version "" "" show fullResolvers"" clean update ghUpload" ' 2>&1'
37
+ if ($env: version -match ' -bin-' -or $env: version -match ' -pre-' ) {
38
+ & cmd / c " sbt "" -Dproject.version=$env: version "" clean update "" show s3Upload/mappings"" " ' 2>&1'
39
+ } else {
40
+ echo " Running a release for $env: version "
41
+ & cmd / c " sbt "" -Dproject.version=$env: version "" clean update ghUpload" ' 2>&1'
42
+ }
39
43
checkExit
40
44
} else {
41
45
echo " Unknown mode: '$env: mode '"
Original file line number Diff line number Diff line change @@ -90,13 +90,20 @@ if [[ "$TRAVIS_EVENT_TYPE" == "api" ]]; then
90
90
setupSSH
91
91
. scripts/jobs/release/website/update-api
92
92
elif [[ " $mode " == " release" ]]; then
93
- echo " Running a release for $version "
94
93
triggerMsiRelease
95
- # The log is too long for the travis UI, so remove ANSI codes to have a clean raw version
96
- sbt -Dsbt.log.noformat=true \
97
- -Dproject.version=$version \
98
- " show fullResolvers" clean update ghUpload
99
- triggerSmoketest
94
+ if [[ " $version " =~ -b in- || " $version " =~ -p re- ]]; then
95
+ # The log is too long for the travis UI, so remove ANSI codes to have a clean raw version
96
+ sbt -Dsbt.log.noformat=true \
97
+ -Dproject.version=$version \
98
+ clean update " show s3Upload/mappings"
99
+ else
100
+ echo " Running a release for $version "
101
+ # The log is too long for the travis UI, so remove ANSI codes to have a clean raw version
102
+ sbt -Dsbt.log.noformat=true \
103
+ -Dproject.version=$version \
104
+ clean update ghUpload
105
+ triggerSmoketest
106
+ fi
100
107
else
101
108
echo " Unknown build mode: '$mode '"
102
109
exit 1
You can’t perform that action at this time.
0 commit comments