File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
common-files/building-system-patches Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ --- a/scripts/lint-packages.sh
2+ +++ b/scripts/lint-packages.sh
3+ @@ -124,7 +124,7 @@ check_indentation() {
4+ # We'll need the 'origin/master' as a base commit when running the version check.
5+ # So try fetching it now if it doesn't exist.
6+ if ! base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"; then
7+ - git fetch https://github.com/termux/termux-packages.git
8+ + git fetch https://github.com/termux-user-repository/tur.git
9+ base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"
10+ fi
11+
12+ @@ -213,7 +213,8 @@ check_version() {
13+ "when a package is rebuilt with no new upstream release." \
14+ "" \
15+ "Got : ${version_old} -> ${version_new}" \
16+ - "Expected: ${version_old} -> ${version}-$((old_revision + 1))"
17+ + "Expected: ${version_old} -> ${version}-$((old_revision + 1))" \
18+ + "HEAD: $(git rev-parse HEAD@{1})"
19+ continue
20+ # If that check passed the TERMUX_PKG_VERSION must have changed,
21+ # in which case TERMUX_PKG_REVISION should be reset to 0.
You can’t perform that action at this time.
0 commit comments