There was an error while loading. Please reload this page.
2 parents b631edb + 2c65c9a commit bb2f99aCopy full SHA for bb2f99a
1 file changed
.github/workflows/seed.yml
@@ -87,11 +87,12 @@ jobs:
87
# Set namespaces block automatically
88
NS="https://w3id.org/pmd/ao/${{ github.event.inputs.uribase_suffix }}/"
89
if grep -q "^namespaces:" "$CONFIG_FILE"; then
90
- sed -i "s|^namespaces:.*|namespaces:\n - $NS|" "$CONFIG_FILE"
+ sed -i "/^namespaces:/,+1c\\
91
+ namespaces:\\
92
+ - $NS" "$CONFIG_FILE"
93
else
94
echo -e "\nnamespaces:\n - $NS" >> "$CONFIG_FILE"
95
fi
-
96
echo "Updated seed-template.yaml content:"
97
cat "$CONFIG_FILE"
98
@@ -151,3 +152,4 @@ jobs:
151
152
153
This PR contains the generated ontology files from ODK seed.
154
155
+
0 commit comments