Skip to content

bump default to 0.24.1 and auto-detect lychee bin in subfolder#330

Merged
mre merged 7 commits into
lycheeverse:masterfrom
rina-forks:subfolder-tar
Apr 24, 2026
Merged

bump default to 0.24.1 and auto-detect lychee bin in subfolder#330
mre merged 7 commits into
lycheeverse:masterfrom
rina-forks:subfolder-tar

Conversation

@katrinafyi

@katrinafyi katrinafyi commented Apr 24, 2026

Copy link
Copy Markdown
Member

i can revert the default version bump if we'd prefer to do that later.

lycheeverse/lychee#2160

@katrinafyi katrinafyi changed the title fix: auto-detect whether lychee binary is inside subfolder bump default to 0.24.1 and auto-detect lychee bin in subfolder Apr 24, 2026

@mre mre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I will merge this right away in an attempt to reduce the blast radius of my recent changes. The comment can be added later if that seems helpful. Thanks for the fix.

Comment thread action.yml
tar -xvzf "${FILENAME}"
rm -rv "${FILENAME}"

# Detect if lychee binary is in a subfolder within the tar.gz

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add a comment referencing the issue and/or the release which changed the behavior?

@mre mre merged commit faea714 into lycheeverse:master Apr 24, 2026
4 checks passed
@katrinafyi

Copy link
Copy Markdown
Member Author

Thinking about it, maybe the action should just use cargo-binstall...? Would mean there's only one place that defines the archive format.

@mre

mre commented Apr 25, 2026

Copy link
Copy Markdown
Member

Not sure. Wouldn't that mean we have to install cargo-binstall at runtime? Or is it already installed?
Right now, the lychee installation is almost instant.

@katrinafyi

Copy link
Copy Markdown
Member Author

It would, but it's also fast - just a curl pipe. It's what the pre commit does: https://github.com/lycheeverse/lychee/blob/6eb99e8d5e49f8c93d8d71d9ddd8ebebfd4e361a/scripts/lychee_pre_commit.sh#L57

@mre

mre commented Apr 25, 2026

Copy link
Copy Markdown
Member

Ah right. Then sure.

@donbeave

donbeave commented May 1, 2026

Copy link
Copy Markdown

Hi — any rough ETA for a tagged release that includes this fix? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants