ci: list changes since previous release in forced filter builds

Force-build runs left RANGE at HEAD, so the curated 'Filter changes in
this build' section had no lower bound and listed every filter commit
ever made instead of only commits since the channel's previous tag.
Set RANGE to <prev-tag>..HEAD in the forced path when a previous tag
exists; the skip gate is unaffected (forced builds still always build).
This commit is contained in:
Jason Huebert committed 2026-09-23 15:33:36 -05:00
1 parent ad3872d3ef
commit 32b8d4bdf5
1 file changed
+5
+5
View File
@@ -163,6 +163,11 @@ jobs:
RANGE="HEAD"
if [ "$FORCE_BUILD" = true ]; then
SKIP=false
# forced builds still list changes since the previous release,
# when there is one to compare against
if [ -n "$PREV_TAG" ]; then
RANGE="${PREV_TAG}..HEAD"
fi
elif [ -z "$PREV_TAG" ]; then
# first release of this channel under the new scheme
SKIP=false