Skip to content

Commit

Permalink
remove plugin; use a shell command to fill the latest tag variable
Browse files Browse the repository at this point in the history
  • Loading branch information
swissiety committed Oct 31, 2023
1 parent d93e26f commit c4d41dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
- run: pip install mkdocs-material
- run: pip install mkdocs-tooltips
- run: pip install git+https://github.com/RedisLabs/mkdocs-include.git
- run: pip install mkdocs_latest_release_plugin
- run: pip install git+https://github.com/swissiety/LspLexer4Pygments.git
# grab latest release url of the JimpleLSP jar and download it
- run: curl -s -L -o ./jimplelsp.jar $(curl -s https://api.github.com/repos/swissiety/jimpleLsp/releases/latest | grep 'browser_download_url".*jar"' | cut -d ':' -f 2,3 | tr -d \")
# replace version in .md files
- run: sed -i 's\{{ git_latest_release }}\'$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7)'\g' *.md
- run: mkdocs gh-deploy --force
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ plugins:
- search
- include:
src_path: 'sootup.examples/src/test/java/sootup/examples'
- git-latest-release

extra_css:
- css/hint.min.css
Expand Down

0 comments on commit c4d41dc

Please sign in to comment.