Merge pull request #5879 from zmstone/chore-always-force-dashboard-vsn-bump
chore: force appup for emqx_dashboard app in each release
This commit is contained in:
commit
c8dda45c55
|
@ -22,6 +22,15 @@ while read -r app; do
|
||||||
if [ "$changed" -gt 0 ]; then
|
if [ "$changed" -gt 0 ]; then
|
||||||
echo "$src_file needs a vsn bump"
|
echo "$src_file needs a vsn bump"
|
||||||
bad_app_count=$(( bad_app_count + 1))
|
bad_app_count=$(( bad_app_count + 1))
|
||||||
|
elif [[ ${app_path} = *emqx_dashboard* ]]; then
|
||||||
|
## emqx_dashboard is ensured to be upgraded after all other plugins
|
||||||
|
## at the end of its appup instructions, there is the final instruction
|
||||||
|
## {apply, {emqx_plugins, load, []}
|
||||||
|
## since we don't know which plugins are stopped during the upgrade
|
||||||
|
## for safty, we just force a dashboard version bump for each and every release
|
||||||
|
## even if there is nothing changed in the app
|
||||||
|
echo "$src_file needs a vsn bump to ensure plugins loaded after upgrade"
|
||||||
|
bad_app_count=$(( bad_app_count + 1))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done < <(./scripts/find-apps.sh)
|
done < <(./scripts/find-apps.sh)
|
||||||
|
|
Loading…
Reference in New Issue