Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
getting the branch name if is from upstream or fixing if come from PR (
Browse files Browse the repository at this point in the history
…#4204)

the previous env var does not exist anymore and that was failing when
need to build server/webapp from upstream with same branch names
  • Loading branch information
Carlos Tadeu Panato Junior authored and crspeller committed Nov 13, 2019
1 parent 6745a6e commit e1500d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
at: .
- run:
command: |
curl -f -o server.tar.gz https://releases.mattermost.com/mattermost-platform-pr/${CHANGE_BRANCH}/mattermost-enterprise-linux-amd64.tar.gz || curl -f -o server.tar.gz https://releases.mattermost.com/mattermost-platform/master/mattermost-enterprise-linux-amd64.tar.gz
curl -f -o server.tar.gz https://releases.mattermost.com/mattermost-platform-pr/$(echo "${CIRCLE_BRANCH}" | sed 's/pull\//PR-/g')/mattermost-enterprise-linux-amd64.tar.gz || curl -f -o server.tar.gz https://releases.mattermost.com/mattermost-platform/master/mattermost-enterprise-linux-amd64.tar.gz
tar xf server.tar.gz
rm -rf mattermost/client
Expand Down

0 comments on commit e1500d0

Please sign in to comment.