Skip to content

Commit

Permalink
Fix tokei install (#45)
Browse files Browse the repository at this point in the history
Alpha versions not maked as prerelease.
  • Loading branch information
freemanjp authored Nov 16, 2024
1 parent f033700 commit 3a1163b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devcontainer-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ RUN VERSION="`curl -fsSL -H 'Accept: application/vnd.github.v3+json' https://api

# Install tokei
RUN VERSION="`curl -fsSL -H 'Accept: application/vnd.github.v3+json' https://api.github.com/repos/XAMPPRocky/tokei/releases \
| jq --raw-output '[.[] | select(.prerelease == false)] | .[0].tag_name'`" \
| jq --raw-output '[.[] | select(.prerelease == false) | select(.tag_name | index("alpha") | not)] | .[0].tag_name'`" \
&& URL="https://raw.githubusercontent.com/XAMPPRocky/tokei/${VERSION}/LICENCE-MIT" \
&& mkdir -p /usr/local/share/tokei \
&& curl -fsSL --output /usr/local/share/tokei/LICENSE "${URL}" \
Expand Down

0 comments on commit 3a1163b

Please sign in to comment.