Exclude alpha builds
This commit is contained in:
parent
f6ff0e97ac
commit
e63b9b0906
@ -136,7 +136,7 @@ RUN apt update \
|
||||
qtbase5-dev \
|
||||
qttools5-dev \
|
||||
zlib1g-dev \
|
||||
&& QBITTORRENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/qBittorrent/qBittorrent/tags" | jq '.[] | select(.name | index ("beta") | not) | select(.name | index ("rc") | not) | .name' | head -n 1 | tr -d '"') \
|
||||
&& QBITTORRENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/qBittorrent/qBittorrent/tags" | jq '.[] | select(.name | index ("alpha") | not) | select(.name | index ("beta") | not) | select(.name | index ("rc") | not) | .name' | head -n 1 | tr -d '"') \
|
||||
&& curl -o /opt/qBittorrent-${QBITTORRENT_RELEASE}.tar.gz -L "https://github.com/qbittorrent/qBittorrent/archive/${QBITTORRENT_RELEASE}.tar.gz" \
|
||||
&& tar -xzf /opt/qBittorrent-${QBITTORRENT_RELEASE}.tar.gz \
|
||||
&& rm /opt/qBittorrent-${QBITTORRENT_RELEASE}.tar.gz \
|
||||
|
Loading…
x
Reference in New Issue
Block a user