File tree Expand file tree Collapse file tree 3 files changed +5
-16
lines changed
Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,6 @@ workflows:
283283 branches :
284284 only :
285285 - develop
286- - circle-ci
287286 tags :
288287 only :
289288 - " /^\\ d+\\ .\\ d+\\ .\\ d+(-rc\\ .\\ d+)?$/"
Original file line number Diff line number Diff line change 22set -euvo pipefail
33IFS=$' \n\t '
44
5- if [[ $RC_RELEASE = " develop" ]]; then
6- aws s3api put-object \
7- --acl public-read \
8- --website-redirect-location " https://download.rocket.chat/build/$ARTIFACT_NAME " \
9- --bucket download.rocket.chat \
10- --key " build/rocket.chat-$RC_VERSION .tgz"
11- fi
12-
13- aws s3api put-object \
14- --acl public-read \
15- --website-redirect-location " https://download.rocket.chat/build/$ARTIFACT_NAME " \
16- --bucket download.rocket.chat \
17- --key " $RC_RELEASE "
5+ curl -X POST \
6+ -H " X-Update-Token: ${UPDATE_TOKEN} " \
7+ https://releases.rocket.chat/update
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ ENV RC_VERSION 0.59.4
5566
77RUN set -x \
8- && curl -SLf "https://download .rocket.chat/build/rocket.chat- ${RC_VERSION}.tgz " -o rocket.chat.tgz \
9- && curl -SLf "https://download .rocket.chat/build/rocket.chat- ${RC_VERSION}.tgz. asc" -o rocket.chat.tgz.asc \
8+ && curl -SLf "https://releases .rocket.chat/${RC_VERSION}/download/ " -o rocket.chat.tgz \
9+ && curl -SLf "https://releases .rocket.chat/${RC_VERSION}/ asc" -o rocket.chat.tgz.asc \
1010 && gpg --verify rocket.chat.tgz.asc \
1111 && mkdir -p /app \
1212 && tar -zxf rocket.chat.tgz -C /app \
You can’t perform that action at this time.
0 commit comments