Skip to content

Commit

Permalink
Fetch the merge commit in the Initialize Git job to add it to the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrozenberg committed Jul 26, 2021
1 parent e448e51 commit e9a32b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,15 @@ jobs:
- source-v1-{{ .Branch }}-
- source-v1-
- checkout
- run:
name: 'Compute and Fetch Merge Commit'
command: |
./.circleci/compute_merge_commit.sh
./.circleci/fetch_merge_commit.sh
- save_cache:
key: source-v1-{{ .Branch }}-{{ .Revision }}
paths:
- .git
- run:
name: 'Initialize Git'
command: ./.circleci/compute_merge_commit.sh
- run:
name: 'Store maybe_gracefully_halt.sh in Workspace'
command: cp .circleci/maybe_gracefully_halt.sh /tmp/workspace
Expand Down

0 comments on commit e9a32b4

Please sign in to comment.