File tree Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ if ($env:APPVEYOR_FORCED_BUILD -eq 'true') {
26
26
ensureVersion
27
27
if ($env: mode -eq ' release' ) {
28
28
echo " Running a release for $env: version "
29
- # setup s3 credentials
30
- # run sbt s3-upload
29
+ $repositoriesFile = " $env: APPVEYOR_BUILD_FOLDER \conf\repositories"
30
+ & cmd / c " sbt "" -Dsbt.override.build.repos=true"" "" -Dsbt.repository.config=$repositoriesFile "" "" -Dproject.version=$env: version "" "" show fullResolvers"" clean update s3Upload" ' 2>&1'
31
+ checkExit
31
32
} else {
32
33
echo " Unknown mode: '$env: mode '"
33
34
Exit 1
Original file line number Diff line number Diff line change @@ -56,10 +56,6 @@ function setupSSH() {
56
56
chmod 700 ~ /.ssh && chmod 600 ~ /.ssh/*
57
57
}
58
58
59
- function setupS3() {
60
- echo " setup s3"
61
- }
62
-
63
59
curlOut=" curlOut.txt"
64
60
65
61
function checkStatus() {
@@ -105,22 +101,19 @@ if [[ "$TRAVIS_EVENT_TYPE" == "api" ]]; then
105
101
if [[ " $mode " == " archives" ]]; then
106
102
echo " Running 'archives' for $version "
107
103
setupSSH
108
- ssh chara whoami
109
- # . scripts/jobs/release/website/archives
104
+ . scripts/jobs/release/website/archives
110
105
elif [[ " $mode " == " update-api" ]]; then
111
106
echo " Running 'update-api' for $version "
112
107
setupSSH
113
- ssh chara whoami
114
- # . scripts/jobs/release/website/update-api
108
+ . scripts/jobs/release/website/update-api
115
109
elif [[ " $mode " == " release" ]]; then
116
110
echo " Running a release for $version "
117
111
triggerMsiRelease
118
- setupS3
119
112
repositoriesFile=" $TRAVIS_BUILD_DIR /conf/repositories"
120
- # sbt \
121
- # -Dsbt.override.build.repos=true -Dsbt.repository.config="$repositoriesFile" \
122
- # -Dproject.version=$version \
123
- # clean update s3-upload
113
+ sbt \
114
+ -Dsbt.override.build.repos=true -Dsbt.repository.config=" $repositoriesFile " \
115
+ -Dproject.version=$version \
116
+ " show fullResolvers " clean update s3Upload
124
117
triggerSmoketest
125
118
else
126
119
echo " Unknown build mode: '$mode '"
You can’t perform that action at this time.
0 commit comments