mirror of
https://github.com/jhuebert/MeshCore.git
synced 2026-12-03 10:54:13 +00:00
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:
1 parent
ad3872d3ef
commit
32b8d4bdf5
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user