fix: windows relup is not supported

This commit is contained in:
Thales Macedo Garitezi 2022-08-25 11:04:30 -03:00
parent f40fcdd036
commit 5aa8ff86ff
3 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,7 @@ jobs:
PYTHON: python PYTHON: python
DIAGNOSTIC: 1 DIAGNOSTIC: 1
PROFILE: emqx PROFILE: emqx
SYSTEM: windows
working-directory: source working-directory: source
run: | run: |
erl -eval "erlang:display(crypto:info_lib())" -s init stop erl -eval "erlang:display(crypto:info_lib())" -s init stop

View File

@ -79,6 +79,7 @@ jobs:
env: env:
PYTHON: python PYTHON: python
DIAGNOSTIC: 1 DIAGNOSTIC: 1
SYSTEM: windows
run: | run: |
erl -eval "erlang:display(crypto:info_lib())" -s init stop erl -eval "erlang:display(crypto:info_lib())" -s init stop
make ${{ matrix.profile }}-zip make ${{ matrix.profile }}-zip

View File

@ -161,6 +161,9 @@ fetch_version(Vsn, VsnMap) ->
filter_froms(Froms0, AvailableVersionsIndex) -> filter_froms(Froms0, AvailableVersionsIndex) ->
Froms1 = Froms1 =
case os:getenv("SYSTEM") of case os:getenv("SYSTEM") of
%% we do not support relup for windows
"windows" ->
[];
%% debian11 is introduced since v4.4.2 and e4.4.2 %% debian11 is introduced since v4.4.2 and e4.4.2
%% exclude tags before them %% exclude tags before them
"debian11" -> "debian11" ->