chore: skip relup on ubuntu22.04 for earlier versions
This commit is contained in:
parent
91903ef869
commit
87cd40acca
8
build
8
build
|
@ -205,6 +205,14 @@ make_zip() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
ubuntu22)
|
||||||
|
case "$PKG_VSN" in
|
||||||
|
4.4.15*)
|
||||||
|
# this is the first version for amzn2, no relup
|
||||||
|
has_relup='no'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
macos*)
|
macos*)
|
||||||
case "$PKG_VSN" in
|
case "$PKG_VSN" in
|
||||||
4.4.12*)
|
4.4.12*)
|
||||||
|
|
|
@ -176,6 +176,11 @@ filter_froms(Froms0, AvailableVersionsIndex) ->
|
||||||
{"amzn2", _} ->
|
{"amzn2", _} ->
|
||||||
Excluded = [list_to_binary(["4.4.", integer_to_list(X)]) || X <- lists:seq(0,11)],
|
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);
|
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
|
%% macos arm64 (M1/M2) packages are introduced since v4.4.12 and e4.4.12
|
||||||
%% exclude tags before them
|
%% exclude tags before them
|
||||||
{"macos" ++ _, "aarch64" ++ _} ->
|
{"macos" ++ _, "aarch64" ++ _} ->
|
||||||
|
|
Loading…
Reference in New Issue