From 04b28c04671e337574c552c533f306d252e284f4 Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Tue, 14 Mar 2023 14:14:56 +0100 Subject: [PATCH] Remove trailing hash from vocabulary documentation file base name --- CHANGELOG.md | 1 + src/tasks/artifacts/Taskfile.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b0b22f..2932c69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ TODO: add at least one Added, Changed, Deprecated, Removed, Fixed or Security se ### Fixed - Fix typo in questions +- Remove trailing hash from vocabulary documentation file base name ### Changed diff --git a/src/tasks/artifacts/Taskfile.yml b/src/tasks/artifacts/Taskfile.yml index 254e37f..be7cbdc 100644 --- a/src/tasks/artifacts/Taskfile.yml +++ b/src/tasks/artifacts/Taskfile.yml @@ -7,7 +7,7 @@ tasks: documentation:ontology: vars: DOCUMENTATION_FILE: - sh: "BASE_IRI={{.BASE_IRI}}; BASE_NAME=${BASE_IRI##*/}; echo ${BASE_NAME:-index}.html" + sh: "BASE_IRI={{.BASE_IRI}}; BASE_NAME=${BASE_IRI##*/}; BASE_NAME=${BASE_NAME%#}; echo ${BASE_NAME:-index}.html" cmds: - mkdir -p _run/artifacts_documentation_ontology - cp {{.FILE}}.ttl _run/artifacts_documentation_ontology/ontology.ttl