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 4424bfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ save_versions:
- when: manual
allow_failure: true
script:
- 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 4424bfe

Please sign in to comment.