Skip to content

Commit

Permalink
PE-600 Fix CircleCI builds: reload plugins when updating Terminus (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardDavies authored Apr 24, 2024
1 parent 2de3d4b commit 6bd0b13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ commands:
export TERMINUS_RELEASE=$(curl --silent "https://api.github.com/repos/pantheon-systems/terminus/releases/latest" | jq -r .tag_name)
export CURRENT_TERMINUS_VERSION=$(~/terminus/terminus self:info --field terminus_version 2>/dev/null)
if [ ! -d "$HOME/terminus" ] || [ "$CURRENT_TERMINUS_VERSION" != $TERMINUS_RELEASE ]; then
mkdir ~/terminus && cd ~/terminus
mkdir -p ~/terminus && cd ~/terminus
echo "Installing Terminus v$TERMINUS_RELEASE"
curl -L https://github.com/pantheon-systems/terminus/releases/download/$TERMINUS_RELEASE/terminus.phar --output terminus
chmod +x terminus
./terminus self:plugin:reload
./terminus self:plugin:install terminus-build-tools-plugin
fi
echo 'export PATH=$PATH:~/terminus' >> $BASH_ENV
Expand Down

0 comments on commit 6bd0b13

Please sign in to comment.