Skip to content

Commit

Permalink
trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
swissiety committed Oct 31, 2023
1 parent ff6052d commit 83c4877
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83c4877

Please sign in to comment.