chore: fix app versions

This commit is contained in:
Zaiming (Stone) Shi 2022-11-16 16:26:43 +01:00
parent 09455edae8
commit c940b901f5
10 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
{id, "emqx"},
{description, "EMQX Core"},
% strict semver, bump manually!
{vsn, "5.0.10"},
{vsn, "5.0.11"},
{modules, []},
{registered, []},
{applications, [

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_authn, [
{description, "EMQX Authentication"},
{vsn, "0.1.8"},
{vsn, "0.1.9"},
{modules, []},
{registered, [emqx_authn_sup, emqx_authn_registry]},
{applications, [kernel, stdlib, emqx_resource, emqx_connector, ehttpc, epgsql, mysql, jose]},

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_authz, [
{description, "An OTP application"},
{vsn, "0.1.7"},
{vsn, "0.1.8"},
{registered, []},
{mod, {emqx_authz_app, []}},
{applications, [

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_bridge, [
{description, "An OTP application"},
{vsn, "0.1.4"},
{description, "EMQX bridges"},
{vsn, "0.1.5"},
{registered, []},
{mod, {emqx_bridge_app, []}},
{applications, [

View File

@ -1,6 +1,6 @@
{application, emqx_conf, [
{description, "EMQX configuration management"},
{vsn, "0.1.6"},
{vsn, "0.1.7"},
{registered, []},
{mod, {emqx_conf_app, []}},
{applications, [kernel, stdlib]},

View File

@ -2,7 +2,7 @@
{application, emqx_rule_engine, [
{description, "EMQX Rule Engine"},
% strict semver, bump manually!
{vsn, "5.0.3"},
{vsn, "5.0.4"},
{modules, []},
{registered, [emqx_rule_engine_sup, emqx_rule_engine]},
{applications, [kernel, stdlib, rulesql, getopt]},

View File

@ -1,5 +1,5 @@
{application, emqx_ee_bridge, [
{vsn, "0.1.1"},
{vsn, "0.1.0"},
{registered, []},
{applications, [
kernel,

View File

@ -1,6 +1,6 @@
{application, emqx_ee_conf, [
{description, "EMQX Enterprise Edition configuration schema"},
{vsn, "0.1.1"},
{vsn, "0.1.0"},
{registered, []},
{applications, [
kernel,

View File

@ -1,5 +1,5 @@
{application, emqx_ee_connector, [
{vsn, "0.1.1"},
{vsn, "0.1.0"},
{registered, []},
{applications, [
kernel,

View File

@ -28,7 +28,7 @@ for app in ${APPS}; do
now_app_version=$(grep -E 'vsn' "$src_file" | grep -oE '"[0-9]+\.[0-9]+\.[0-9]+"' | tr -d '"')
if [ "$old_app_version" = 'not_found' ]; then
echo "$src_file is newly added"
echo "IGNORE: $src_file is newly added"
true
elif [ "$old_app_version" = "$now_app_version" ]; then
changed_lines="$(git diff "$latest_release"...HEAD --ignore-blank-lines -G "$no_comment_re" \
@ -38,7 +38,7 @@ for app in ${APPS}; do
-- "$app_path/priv" \
-- "$app_path/c_src" | wc -l ) "
if [ "$changed_lines" -gt 0 ]; then
echo "$src_file needs a vsn bump"
echo "ERROR: $src_file needs a vsn bump"
bad_app_count=$(( bad_app_count + 1))
fi
else