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 2bddde3 commit 56afa1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
- name: Create docs
shell: bash
run: |
mkdir -p tmp
chmod 777 tmp
while read p; do
mkdir -p tmp
chmod 777 tmp
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)"
echo "$ontology -> $newFolder"
Expand All @@ -61,7 +61,10 @@ jobs:
-v `pwd`/tmp:/usr/local/widoco/out:Z \
ghcr.io/dgarijo/widoco:latest -ontFile in/$ontology -outFolder out -noPlaceHolderText
ls -la tmp
chmod -R 755 tmp
chown -R runner:docker tmp
mv tmp/* $newFolder
rmdir tmp
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 56afa1a

Please sign in to comment.