diff --git a/build b/build index 9cc68e531..59a237c46 100755 --- a/build +++ b/build @@ -205,6 +205,14 @@ make_zip() { ;; esac ;; + ubuntu22) + case "$PKG_VSN" in + 4.4.15*) + # this is the first version for amzn2, no relup + has_relup='no' + ;; + esac + ;; macos*) case "$PKG_VSN" in 4.4.12*) diff --git a/scripts/relup-base-vsns.escript b/scripts/relup-base-vsns.escript index e99c88a9f..5a4a0483d 100755 --- a/scripts/relup-base-vsns.escript +++ b/scripts/relup-base-vsns.escript @@ -176,6 +176,11 @@ filter_froms(Froms0, AvailableVersionsIndex) -> {"amzn2", _} -> Excluded = [list_to_binary(["4.4.", integer_to_list(X)]) || X <- lists:seq(0,11)], lists:filter(fun(Vsn) -> not lists:member(Vsn, Excluded) end, Froms0); + %% ubuntu22.04 is introduced since v4.4.15 and e4.4.15 + %% exclude tags before them + {"ubuntu22.04", _} -> + Excluded = [list_to_binary(["4.4.", integer_to_list(X)]) || X <- lists:seq(0,14)], + lists:filter(fun(Vsn) -> not lists:member(Vsn, Excluded) end, Froms0); %% macos arm64 (M1/M2) packages are introduced since v4.4.12 and e4.4.12 %% exclude tags before them {"macos" ++ _, "aarch64" ++ _} ->