mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 18:48:16 -07:00
Upload to assets to GitHub
This commit is contained in:
parent
7b998239af
commit
9b66bc2f13
3 changed files with 62 additions and 4 deletions
|
@ -11,8 +11,8 @@ RUN set -x; \
|
|||
if [ "${arch}" = 'armv7l' ]; then \
|
||||
arch='armv6hf'; \
|
||||
fi; \
|
||||
url_base='https://shellcheck.storage.googleapis.com/'; \
|
||||
tar_file="shellcheck-${tag}.linux.${arch}.tar.xz"; \
|
||||
url_base='https://github.com/koalaman/shellcheck/releases/download/'; \
|
||||
tar_file="${tag}/shellcheck-${tag}.linux.${arch}.tar.xz"; \
|
||||
wget "${url_base}${tar_file}" -O - | tar xJf -; \
|
||||
mv "shellcheck-${tag}/shellcheck" /bin/; \
|
||||
rm -rf "shellcheck-${tag}"; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue