Skip to content

Commit

Permalink
Try git fetch --all
Browse files Browse the repository at this point in the history
  • Loading branch information
nck-mlcnv committed Nov 27, 2024
1 parent 0ec3f33 commit 4479886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/check_schema_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
ONTOLOGY_VERSION=$(mvn help:evaluate -Dexpression=ontology.version -q -DforceStdout)

git fetch > /dev/null 2>&1
git fetch --all > /dev/null 2>&1

# Check for changes and compare versions
if git diff --quiet "origin/main:$(git ls-tree -r --name-only main | grep 'iguana.owx')" 'src/main/resources/iguana.owx'; then
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/tagcheck.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

git fetch > /dev/null 2>&1
git fetch --all > /dev/null 2>&1

if git rev-parse "$1" >/dev/null 2>&1; then
echo "Tag $1 exist - update version in pom!"
Expand Down

0 comments on commit 4479886

Please sign in to comment.