Skip to content

Commit

Permalink
meaningless changes to trigger workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Apr 9, 2024
1 parent 751ba10 commit df76583
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/substituteMarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ for i in $@; do
initial="$(echo "${PROJECT_FOLDER}/data/${i}" | rev | cut -d "/" -f1 | cut -d "." -f2- | tr '[:lower:]' '[:upper:]' | rev)"
for mark in ${marks[@]}; do
mark_name="${initial}_${mark}"
echo mark_name is $mark_name
mark_value=${!mark_name}
if [ -n "${mark_value}" ]; then
echo "Substituted ${mark_name}"
sed -i "s/{{${mark_name}}}/${mark_value}/g" "${PROJECT_FOLDER}/data/${i}"
sed -i "s/{{${mark_name}}}/${mark_value}/g" "${PROJECT_FOLDER}/data/${i}.json"
fi
done
done
1 change: 0 additions & 1 deletion templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,3 @@
</div>
</body>
</html>

0 comments on commit df76583

Please sign in to comment.