Skip to content

Commit

Permalink
fix(ci): cleanup before package building, not after
Browse files Browse the repository at this point in the history
  • Loading branch information
twaik committed Mar 6, 2025
1 parent e0f6b3f commit d230a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/updates/utils/termux_pkg_upgrade_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ termux_pkg_upgrade_version() {
fi
done < "${TERMUX_SCRIPTDIR}/scripts/big-pkgs.list"

if [[ "${big_package}" == "true" ]]; then
if [[ "${big_package}" == "true" ]] || [[ "${force_cleanup}" == "true" ]]; then
"${TERMUX_SCRIPTDIR}/scripts/run-docker.sh" ./clean.sh
fi

Expand All @@ -129,7 +129,7 @@ termux_pkg_upgrade_version() {
termux_error_exit "ERROR: failed to build."
fi

if [[ "${big_package}" == "true" ]] || [[ "${force_cleanup}" == "true" ]]; then
if [[ "${big_package}" == "true" ]]; then
"${TERMUX_SCRIPTDIR}/scripts/run-docker.sh" ./clean.sh
fi

Expand Down

0 comments on commit d230a81

Please sign in to comment.