-
Notifications
You must be signed in to change notification settings - Fork 151
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
Download script downloads previous version #218
Comments
It seems to be specifiable with arg but it's not documented and hard to understand because it shows both actionlint/scripts/download-actionlint.bash Lines 47 to 58 in 0ea32b7
|
You're misundesrstanding usage of the script. Give the version as command line option. https://github.com/rhysd/actionlint/blob/main/scripts/download-actionlint.bash#L33 |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.17 is correct. |
My argument is this. If you don't want to change usage, would you please document that in install.md? |
OK, I got your point. I can't change the script interface because it means a breaking change. I'll check document and update it as needed. |
I try to download v1.6.17 because actionlint was broken by #216 but v1.6.17 download script downloads v1.6.16.
(Go is not installed in my self-hosted runner, therefore I use download script.)
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.17/scripts/download-actionlint.bash)
v1.6.17 is c9980ce.
actionlint/scripts/download-actionlint.bash
Line 46 in c9980ce
This is caused by release workflow that rewrites download script version after tagged.
Download script version should be rewrited before tagged.
actionlint/.github/workflows/release.yaml
Lines 1 to 5 in 0ea32b7
actionlint/.github/workflows/release.yaml
Lines 34 to 44 in 0ea32b7
The text was updated successfully, but these errors were encountered: