Skip to content

Commit

Permalink
ci: relax hard-coded version check for git (#1211)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Sep 17, 2024
1 parent dc421e7 commit 3ec6eaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,12 @@ jobs:
echo "Version ${ACTUAL_VERSION} confirmed"
working_directory: factory/test-project
- run:
# The git version is determined by BASE_IMAGE and its online package sources
# We check that git is installed and report its version
# There is no check for a certain version of git
name: check git version
command: |
ACTUAL_VERSION=$(docker compose run test-factory-all-included git --version)
if [ "git version 2.39.2" != "${ACTUAL_VERSION}" ]; then
echo "Version mismatch, git package version: git version 2.39.2 != ${ACTUAL_VERSION}"
exit 1;
fi
echo "Version ${ACTUAL_VERSION} confirmed"
working_directory: factory/test-project
- run:
Expand Down

0 comments on commit 3ec6eaf

Please sign in to comment.