Skip to content

Commit

Permalink
ci: add v prefix for mdbook-katex
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Jun 14, 2024
1 parent 12ae41e commit c49c499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install latest mdbook-katex
run: |
tag=$(curl 'https://api.github.com/repos/lzanini/mdbook-katex/releases/latest' | jq -r '.tag_name')
tag_short=${tag/-binaries/}
tag_short=v${tag/-binaries/}
url="https://github.com/lzanini/mdbook-katex/releases/download/${tag}/mdbook-katex-${tag_short}-x86_64-unknown-linux-gnu.tar.gz"
mkdir mdbook-katex
curl -sSL $url | tar -xz --directory=./mdbook-katex
Expand Down

0 comments on commit c49c499

Please sign in to comment.