From bcd045710f45fbfd1ce735f3f2eeb177ac883540 Mon Sep 17 00:00:00 2001 From: Mogeko Date: Thu, 18 Nov 2021 16:59:00 +0000 Subject: [PATCH] build: store version data with latest.json --- Makefile | 4 ++-- latest.json | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 latest.json diff --git a/Makefile b/Makefile index 3402a45..9fdd6ba 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -LIBTORRENT_VERSION = 1.2.14 -QBITTORRENT_VERSION = 4.3.8 +LIBTORRENT_VERSION = $(shell jq -r '.libtorrent' ./latest.json) +QBITTORRENT_VERSION = $(shell jq -r '.qbittorrent' ./latest.json) CMD = /usr/bin/docker IMAGE = mogeko/qbittorrent diff --git a/latest.json b/latest.json new file mode 100644 index 0000000..7541025 --- /dev/null +++ b/latest.json @@ -0,0 +1,5 @@ +{ + "qbittorrent": "4.3.8", + "libtorrent": "1.2.14", + "pkgrel": 1 +}