Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hugo install script #1277

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

andreaske76
Copy link

If the baseimage contains a preinstalled hugo version, the change checks the version and if it's differs from $VERSION then it installs hugo with the $VERSION

If the baseimage contains a preinstalled hugo version, the change checks the version and if it's differs from $VERSION then it installs hugo with the $VERSION
@andreaske76 andreaske76 requested a review from a team as a code owner February 19, 2025 08:26
@andreaske76 andreaske76 changed the title Update install.sh Fix hugo install script Feb 20, 2025
@Kaniska244
Copy link
Contributor

Hi @andreaske76 ,

Thank you for the PR. Would it be possible to add a test for this specific scenario(installing the correct version if not present) you have fixed as part of this PR.

With Regards,
Kaniska

@lanrat
Copy link

lanrat commented Feb 26, 2025

Looks like this PR would fix an issue I've been having with the devcontainer using an outdated version of hugo.

Could this be updated to also check $EXTENDED matches in addition to $VERSION?

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