We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e596fe commit c1dc6daCopy full SHA for c1dc6da
.github/scripts/check_schema_version.sh
@@ -3,8 +3,10 @@
3
PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
4
ONTOLOGY_VERSION=$(mvn help:evaluate -Dexpression=ontology.version -q -DforceStdout)
5
6
+git fetch --all > /dev/null 2>&1
7
+
8
# Check for changes and compare versions
-if git diff --quiet "main:$(git ls-tree -r --name-only main | grep 'iguana.owx')" 'src/main/resources/iguana.owx'; then
9
+if git diff --quiet "origin/main:$(git ls-tree -r --name-only origin/main | grep 'iguana.owx')" 'src/main/resources/iguana.owx'; then
10
DIFF_STATUS=0
11
else
12
DIFF_STATUS=1
.github/scripts/tagcheck.sh
@@ -1,5 +1,7 @@
1
#!/bin/sh
2
if git rev-parse "$1" >/dev/null 2>&1; then
echo "Tag $1 exist - update version in pom!"
exit 1
0 commit comments