-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Allow install beta #211
Allow install beta #211
Conversation
171aa06
to
161cff5
Compare
870bd4b
to
1040539
Compare
aaaa4b4
to
53ba5fa
Compare
Can you help me with the failing test, @Tito-Kati or @khru ? I cannot reproduce it locally (with my MacOS) 🤔 |
@@ -7,6 +7,6 @@ cat bashunit >> bin/temp.sh | |||
grep -v '^source' bin/temp.sh > bin/bashunit | |||
rm bin/temp.sh | |||
|
|||
chmod +x bin/bashunit | |||
chmod u+x bin/bashunit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
I've fixed the error that the workflows were giving on Linux. By removing the git mock, I could have fixed the mock, but being an acceptance test, it seemed more correct to remove it. Additionally, I've taken the liberty of applying the corrections I requested myself and making a few more minor changes. |
echo "> Downloading the latest version: '$TAG'" | ||
fi | ||
|
||
curl -L -O -J "https://github.com/TypedDevs/bashunit/releases/download/$TAG/bashunit" 2>/dev/null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make senses to add header on the curl
to track the version requested as well as the OS that is using?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests/acceptance/install_test.sh
Outdated
"$(printf "> Downloading non-stable version: 'beta'\n> bashunit has been installed in the 'deps' folder")"\ | ||
"$output" | ||
assert_file_exists "$install_dir" | ||
assert_equals "$(printf "\e[1m\e[32mbashunit\e[0m - (non-stable) beta")" "$("$install_dir" --version)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are missing to test that the dir has been deleted
# Conflicts: # tests/acceptance/install_test.sh
📚 Description
Closes: #210
Currently, the installer tool allows you to install a concrete version, once it was release. However, there is no easy way to benefit of the features/bug-fixes already merged into main unless you download the project and run the build.sh yourself.
🔖 Changes
✅ To-do list
CHANGELOG.md
to reflect the new feature or fix