Skip to content

Commit

Permalink
Curl and bash
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Mar 10, 2021
1 parent 6171d55 commit 53e7af2
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -80,7 +80,8 @@ jobs:
steps:
- run:
name: 'Fetch Merge Commit'
command: ./.circleci/fetch_merge_commit.sh fetch
# TODO: This needs to be changed to ampproject/amphtml/master after merging #33165
command: curl -o- https://raw.githubusercontent.com/jridgewell/amphtml/build-size-base/.circleci/fetch_merge_commit.sh | bash /dev/stdin fetch
- save_merge_commit
'Checks':
executor:
Expand Down
1 change: 1 addition & 0 deletions .circleci/fetch_merge_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RED() { echo -e "\n\033[0;31m$1\033[0m"; }

if [[ -z "$1" ]]; then
echo "Usage: fetch_merge_commit.sh [fetch | merge]"
exit 1
fi

# Push builds are only run against master and amp-release branches.
Expand Down

0 comments on commit 53e7af2

Please sign in to comment.