Skip to content

Commit

Permalink
Remove trailing hash from vocabulary documentation file base name
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Mar 14, 2023
1 parent 3a6d43a commit 04b28c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/tasks/artifacts/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04b28c0

Please sign in to comment.