Skip to content

Commit

Permalink
fix vuetorrent url [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Jan 21, 2024
1 parent 49c859c commit 7dfaab8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/down
chmod 755 "${APP_DIR}/qbittorrent-nox"

ARG VUETORRENT_VERSION
RUN curl -fsSL "https://github.com/wdaan/vuetorrent/releases/download/v${VUETORRENT_VERSION}/vuetorrent.zip" > "/tmp/vuetorrent.zip" && \
RUN curl -fsSL "https://github.com/vuetorrent/vuetorrent/releases/download/v${VUETORRENT_VERSION}/vuetorrent.zip" > "/tmp/vuetorrent.zip" && \
unzip "/tmp/vuetorrent.zip" -d "${APP_DIR}" && \
rm "/tmp/vuetorrent.zip" && \
chmod -R u=rwX,go=rX "${APP_DIR}/vuetorrent"
Expand Down
2 changes: 1 addition & 1 deletion linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/down
chmod 755 "${APP_DIR}/qbittorrent-nox"

ARG VUETORRENT_VERSION
RUN curl -fsSL "https://github.com/wdaan/vuetorrent/releases/download/v${VUETORRENT_VERSION}/vuetorrent.zip" > "/tmp/vuetorrent.zip" && \
RUN curl -fsSL "https://github.com/vuetorrent/vuetorrent/releases/download/v${VUETORRENT_VERSION}/vuetorrent.zip" > "/tmp/vuetorrent.zip" && \
unzip "/tmp/vuetorrent.zip" -d "${APP_DIR}" && \
rm "/tmp/vuetorrent.zip" && \
chmod -R u=rwX,go=rX "${APP_DIR}/vuetorrent"
Expand Down
2 changes: 1 addition & 1 deletion update-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

nightwalker_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/CallMeBruce/nightwalker/commits/main" | jq -r .sha)
[[ -z ${nightwalker_version} ]] && exit 0
vuetorrent_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/wdaan/vuetorrent/releases/latest" | jq -r .tag_name | sed s/v//g)
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)"')
version=$(echo "${full_version}" | sed -e "s/release-//g" -e "s/_.*//g")
Expand Down

0 comments on commit 7dfaab8

Please sign in to comment.