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

Recent change broke < v5.4 #35

Merged
merged 2 commits into from
Mar 22, 2024
Merged

Recent change broke < v5.4 #35

merged 2 commits into from
Mar 22, 2024

Conversation

nulty
Copy link
Contributor

@nulty nulty commented Mar 21, 2024

  • Add version matrix to the tests
  • Fix installation of all version on linux while keeping the freebsd changes for the latest version of lua

https://github.com/nulty/asdf-lua/actions

bin/install Outdated
version=$1
IFS='.' read -ra version_array <<<"$version"
major_minor_version="${version_array[0]}0${version_array[1]}"
if (("$major_minor_version" <= 504)); then
Copy link
Owner

Choose a reason for hiding this comment

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

This condition says less than or equal to 5.4.x, but the function name is less_than_version_5_4x. If the function name is correct this needs to become:

if (("$major_minor_version" < 504)); then

Copy link
Owner

@Stratus3D Stratus3D left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I think there is one issue with the less_than_version_5_4x but otherwise this looks good to me.

@nulty
Copy link
Contributor Author

nulty commented Mar 22, 2024

Nice catch. Fixed that now 🙏

@Stratus3D Stratus3D merged commit f0f1ed9 into Stratus3D:master Mar 22, 2024
10 checks passed
@Stratus3D
Copy link
Owner

Thanks @nulty !

@nulty
Copy link
Contributor Author

nulty commented Mar 22, 2024

Ooof. I don't know what's failing on macos there 😨

@Stratus3D
Copy link
Owner

Yeah, I don't know either. But I don't think it is due to your changes here.

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.

2 participants