From 7cc22d83ebe70268bccdf3fef23b72428936a1ef Mon Sep 17 00:00:00 2001 From: Wolf2323 Date: Wed, 1 Nov 2023 17:11:57 +0100 Subject: [PATCH] fixed syntax issue --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6203e672b1..69c0b6b1f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -201,8 +201,8 @@ jobs: echo "$(cat ./CHANGELOG.md)" >> './docs/Documentation/CHANGELOG.md' - name: Set ref in download commands run: | - if [ $VERSION_TYPE == 'release' ]; then REFERENCE="${{ github.ref }}"; else REFERENCE="$(cd docs/_tutorials/ && git rev-parse HEAD)" fi - find docs -type f -exec sed -i "s#/bq download BetonQuest/Quest-Tutorials \${ref} QuestPackages #/bq download BetonQuest/Quest-Tutorials ${REFERENCE} QuestPackages #" {} + + if [ $VERSION_TYPE == 'release' ]; then REFERENCE="${{ github.ref }}"; else REFERENCE="$(cd docs/_tutorials/ && git rev-parse HEAD)"; fi + find docs/ -type f -exec sed -i "s#/bq download BetonQuest/Quest-Tutorials \${ref} QuestPackages #/bq download BetonQuest/Quest-Tutorials ${REFERENCE} QuestPackages #" {} + - name: Set user feedback form version in mkdocs.yml run: | sed -i "s~%VERSION%~${VERSION}~g" ./mkdocs.yml