aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-17 18:10:51 +0200
committerLoïc Hoguin <[email protected]>2019-09-17 18:10:51 +0200
commit23775b1cdc23b2a098f574114a5bb9260ef29914 (patch)
treeb71844acc84a471740c4a121697b46ddff954e4e
parent2c25bb6067eaedbacf8f8cbefbabecd582519bf9 (diff)
downloadci.erlang.mk-23775b1cdc23b2a098f574114a5bb9260ef29914.tar.gz
ci.erlang.mk-23775b1cdc23b2a098f574114a5bb9260ef29914.tar.bz2
ci.erlang.mk-23775b1cdc23b2a098f574114a5bb9260ef29914.zip
Add OTP-LATEST-22+ and similar variables
Should be useful to speed up most builds that don't need to be tested against the entire universe.
-rw-r--r--early-plugins.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/early-plugins.mk b/early-plugins.mk
index f7e85f7..e91b6a9 100644
--- a/early-plugins.mk
+++ b/early-plugins.mk
@@ -35,6 +35,14 @@ OTP-20+ := $(OTP-20) $(OTP-21) $(OTP-22)
OTP-21+ := $(OTP-21) $(OTP-22)
OTP-22+ := $(OTP-22)
+OTP-LATEST-18+ := $(lastword $(OTP-18)) $(lastword $(OTP-19)) \
+ $(lastword $(OTP-20)) $(lastword $(OTP-21)) $(lastword $(OTP-22))
+OTP-LATEST-19+ := $(lastword $(OTP-19)) $(lastword $(OTP-20)) \
+ $(lastword $(OTP-21)) $(lastword $(OTP-22))
+OTP-LATEST-20+ := $(lastword $(OTP-20)) $(lastword $(OTP-21)) $(lastword $(OTP-22))
+OTP-LATEST-21+ := $(lastword $(OTP-21)) $(lastword $(OTP-22))
+OTP-LATEST-22+ := $(lastword $(OTP-22))
+
# We exclude release candidates here because they are not
# the latest release, they are the *next* one.