Skip to content
Snippets Groups Projects
Commit 47fcadcc authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Missing step for preparing epub document to download

parent f07346bc
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
DOCKER_IMAGE=pandoc:toMkdocs
TOOLS_DOCKER_IMAGE=generatechangemarks:master
TOOLS_DOCKER_IMAGE=generatechangemarks:toMkdocs
echo "\n------ Checking for docker image --------"
docker pull "$DOCKER_IMAGE"
......
......@@ -60,6 +60,11 @@ if [[ ${10} == v* ]]; then
file_name=$(ls docs/download/*.pdf)
filename_corrected=$(echo ${file_name/&/and})
mv docs/download/"$8_${10}.pdf" ${filename_corrected}
mv "$8_${10}.epub" docs/download
spec_name=$(echo ${8/&/and})
file_name=$(ls docs/download/*.epub)
filename_corrected=$(echo ${file_name/&/and})
mv docs/download/"$8_${10}.epub" ${filename_corrected}
echo ${spec_name}
#for x in docs/download/*"&"*; do mv -- "$x" "${x//&/and}"; done
sed -i 's/PROJECT/'${9^^}'/g' docs/download/index.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment