Skip to content

Commit

Permalink
switch to legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Jan 22, 2024
1 parent 6c6d77e commit 8a52b24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions VERSION.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"latest": false,
"description": "Releases",
"version": "4.6.3",
"full_version": "release-4.6.3_v1.2.19",
"version": "4.3.9",
"full_version": "release-4.3.9_v1.2.19",
"vuetorrent_version": "2.5.0",
"changelog": "https://github.com/qbittorrent/qbittorrent/compare/release-4.6.2...release-4.6.3",
"changelog": "https://github.com/qbittorrent/qbittorrent/compare/release-4.3.9...release-4.3.9",
"upstream_image": "ghcr.io/hotio/base",
"upstream_tag": "alpine",
"upstream_digest_amd64": "sha256:aba1ad70d73a01a04940ceefcc0506c8867aa99be1e1598f7f57d79dc462ba1d",
Expand Down
2 changes: 1 addition & 1 deletion linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apk add --no-cache privoxy iptables ip6tables iproute2 openresolv wireguard-

ARG FULL_VERSION

RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULL_VERSION}/x86_64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox" && \
RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static-legacy/releases/download/${FULL_VERSION}/x86_64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox" && \
chmod 755 "${APP_DIR}/qbittorrent-nox"

ARG VUETORRENT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apk add --no-cache privoxy iptables ip6tables iproute2 openresolv wireguard-

ARG FULL_VERSION

RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULL_VERSION}/aarch64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox" && \
RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static-legacy/releases/download/${FULL_VERSION}/aarch64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox" && \
chmod 755 "${APP_DIR}/qbittorrent-nox"

ARG VUETORRENT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion update-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ nightwalker_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://a
[[ -z ${nightwalker_version} ]] && exit 0
vuetorrent_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/vuetorrent/vuetorrent/releases/latest" | jq -r .tag_name | sed s/v//g)
[[ -z ${vuetorrent_version} ]] && exit 0
full_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/dependency-version.json" | jq -r '. | "release-\(.qbittorrent)_v\(.libtorrent_1_2)"')
full_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://github.com/userdocs/qbittorrent-nox-static-legacy/releases/latest/download/dependency-version.json" | jq -r '. | "release-\(.qbittorrent)_v\(.libtorrent_1_2)"')
version=$(echo "${full_version}" | sed -e "s/release-//g" -e "s/_.*//g")
[[ -z ${version} ]] && exit 0
old_version=$(jq -r '.version' < VERSION.json)
Expand Down

0 comments on commit 8a52b24

Please sign in to comment.