Skip to content

Commit

Permalink
git fetch before rev-parse
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Jul 10, 2024
1 parent 6d9d707 commit 9d11c36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ save_versions:
- when: manual
allow_failure: true
script:
- ls -la
- git clone https://github.com/DataDog/dd-trace-rb.git
- cd dd-trace-rb
- git fetch
- echo 1_X_COMMIT_SHA=$(git rev-parse 1.x-stable) >> upstream.env
- echo 2_X_COMMIT_SHA=$(git rev-parse master) >> upstream.env
artifacts:
Expand Down

0 comments on commit 9d11c36

Please sign in to comment.