这是indexloc提供的服务,不要输入任何密码
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/jackett/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="API Support for your favorite torrent trackers"
TERMUX_PKG_LICENSE="GPL-2.0-or-later"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.24.275"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/Jackett/Jackett/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=e8d3fa23a4c13e0c84fa1b1720b3e9b0d317960cfa87bcf5aaf58ef6aea2decf
TERMUX_PKG_BUILD_DEPENDS="aspnetcore-targeting-pack-9.0, dotnet-targeting-pack-9.0"
Expand Down
9 changes: 8 additions & 1 deletion scripts/lint-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,18 @@ check_indentation() {

# We'll need the 'origin/master' as a base commit when running the version check.
# So try fetching it now if it doesn't exist.
if ! base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"; then
# if this script is running in GitHub Actions, the base_commit is actually HEAD~1
# not HEAD~$(git rev-list --count FETCH_HEAD..)
# See https://github.com/actions/checkout/issues/504 for more information
if [[ "${CI-false}" == "true" ]]; then
base_commit="HEAD~1"
elif ! base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"; then
git fetch https://github.com/termux/termux-packages.git
base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"
fi

printf '%s\n' "base_commit: $(git rev-parse "$base_commit")"

check_version() {
local package_dir="${1%/*}"

Expand Down