Skip to content

Commit

Permalink
fix: source bashrc before sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Nov 17, 2020
1 parent 2e4d040 commit c484a24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,12 @@ jobs:
command: |
version=$(cat .amplify-pkg-version)
curl -sL https://aws-amplify.github.io/amplify-cli/install | version=v$version bash
echo "export PATH=$PATH:$HOME/.amplify/bin" >> $BASH_ENV
- run:
name: Sanity check install
# TODO change to `amplify version` once the install script is modified to install to "amplify"
command: amp version
command: |
amp version
github_release:
<<: *defaults
steps:
Expand Down
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,12 @@ jobs:
curl -sL https://aws-amplify.github.io/amplify-cli/install |
version=v$version bash
echo "export PATH=$PATH:$HOME/.amplify/bin" >> $BASH_ENV
- run:
name: Sanity check install
command: amp version
command: |
amp version
github_release:
working_directory: ~/repo
docker: *ref_0
Expand Down

0 comments on commit c484a24

Please sign in to comment.