Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hvarg committed Sep 11, 2024
1 parent e224aeb commit 82ed8c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,18 @@ jobs:
- name: Create docs
shell: bash
run: |
mkdir -p tmp
chmod 777 tmp
while read p; do
newFolder="$(echo "release/$p" | sed s/Ontology.owl//g | sed s/development\\///g | sed s/PD/pd-/g | tr '[:upper:]' '[:lower:]')/$(xmllint $p --xpath "//*[local-name()='RDF']/*[local-name()='Ontology']/*[local-name()='versionInfo']/text()" | sed s/v//g )"
ontology="$(echo $p | sed s/development\\///g)"
mkdir -p $newFolder
chmod 777 $newFolder
echo "$ontology -> $newFolder"
docker run --rm \
-v `pwd`/development:/usr/local/widoco/in:Z \
-v `pwd`/$newFolder:/usr/local/widoco/out:Z \
-v `pwd`/tmp:/usr/local/widoco/out:Z \
ghcr.io/dgarijo/widoco:latest -ontFile in/$ontology -outFolder out -noPlaceHolderText
ls -la $newFolder
ls -la tmp
mv tmp newFolder
done < updated_files.txt
# What files were changed:
Expand Down
2 changes: 1 addition & 1 deletion development/PDCognitiveOntology.owl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<!--
///////////////////////////////////////////////////////////////////////////////////////
//
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 82ed8c3

Please sign in to comment.