From 83c48774d8fc1d7cb0451e21fbd4d0d3c6c2e208 Mon Sep 17 00:00:00 2001 From: Markus Schmidt Date: Tue, 31 Oct 2023 15:31:42 +0100 Subject: [PATCH] trigger ci --- .github/workflows/gh-pages.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 503e55c8bae..8ffaf8b8338 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -38,12 +38,13 @@ jobs: - name: get latest release tag - id: latestgittag - run: latestgittagvar=$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7) + id: "latestgittag" + run: latestgittagvar="$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7)" + - run: echo "[${{steps.latestgittag.outputs.latestgittagvar}}]" - - name: replace version in .md files - run: sed -i 's\{{ git_latest_release }}\${{steps.latestgittag.outputs.latestgittagvar}}\g' *.md + - name: replace "{{ git_latest_release }}" with latest release tag version in .md files + run: sed -i 's\{{ git_latest_release }}\'${{steps.latestgittag.outputs.latestgittagvar}}'\g' docs/**.md - run: git fetch origin gh-pages --depth=1 - name: Configure git user