Commit 0744833
committed
Fix version paradox in package upgrade/downgrade tests
Prevent testing upgrades from newer releases to older dev branches by
only including testing releases that are older than the current version.
This fixes the issue where after a new release (e.g., v3007.10), branches
based on older versions (e.g., v3007.9+dev) would try to upgrade FROM
the newer release TO the older dev version, which is backwards and causes
all upgrade/downgrade package tests to fail.
The fix ensures that only versions older than the current branch are used
as testing releases for upgrade/downgrade tests.
Example:
- Current branch: v3007.9-653-gabcd1234 (based on 3007.9 + dev commits)
- Latest 3007.x tag: v3007.10 (newer release)
- Before: Would try to upgrade FROM 3007.10 TO 3007.9+dev (backwards!)
- After: Skips 3007.10, uses 3007.9 or earlier versions instead
This eliminates the need to wait for release tags to be "merged forward"
before package tests can pass on development branches.1 parent cc9fcd1 commit 0744833
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
349 | 353 | | |
350 | 354 | | |
351 | 355 | | |
| |||
910 | 914 | | |
911 | 915 | | |
912 | 916 | | |
913 | | - | |
| 917 | + | |
914 | 918 | | |
915 | 919 | | |
916 | | - | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
917 | 925 | | |
918 | 926 | | |
919 | 927 | | |
| |||
0 commit comments