chore: skip relup while {e,v}4.4.8 does not exist
This commit is contained in:
parent
396e44ce29
commit
5c720a01a3
5
build
5
build
|
@ -188,6 +188,11 @@ make_zip() {
|
|||
esac
|
||||
;;
|
||||
esac
|
||||
## one can only upgrade to 4.5.X from 4.4.8, when that's released.
|
||||
## Until that's released, there's no relup.
|
||||
if [[ -z "$(ls -A _upgrade_base 2>/dev/null || true)" && "${PKG_VSN}" == 4.5.0* ]]; then
|
||||
has_relup='no'
|
||||
fi
|
||||
if [ "$has_relup" = 'yes' ]; then
|
||||
./scripts/inject-relup.escript "${tard}/emqx/releases/${PKG_VSN}/relup"
|
||||
fi
|
||||
|
|
|
@ -91,9 +91,10 @@ done
|
|||
|
||||
# first 4.5.0 version uses the previous 4.4.X as a base we emulate
|
||||
# that we are the last 4.4.X version that allows upgrading to 4.4.5.
|
||||
# We add that version, if available.
|
||||
if [[ "${CUR_SEMVER[0]}" = 4 && "${CUR_SEMVER[1]}" = 5 && "${CUR_SEMVER[2]}" = 0 ]]; then
|
||||
TAGS+=( "v4.4.8" )
|
||||
TAGS+=( "e4.4.8" )
|
||||
[[ $(git tag -l "v4.4.8") ]] && TAGS+=( "v4.4.8" )
|
||||
[[ $(git tag -l "e4.4.8") ]] && TAGS+=( "e4.4.8" )
|
||||
fi
|
||||
|
||||
for tag in "${TAGS[@]}"; do
|
||||
|
|
Loading…
Reference in New Issue