chore: trigger a version check before pushing a tag
This commit is contained in:
parent
a96c1284c6
commit
cc1734490f
|
@ -4,9 +4,13 @@ set -euo pipefail
|
|||
|
||||
url="$2"
|
||||
|
||||
## ensure enterprise code is not pushed to public repo
|
||||
if [ -f 'EMQX_ENTERPRISE' ]; then
|
||||
if [[ "$url" != *emqx-enterprise* ]]; then
|
||||
echo "$(tput setaf 1)error: enterprise_code_to_non_enterprise_repo"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
## this triggers a tag vs release version check before pushing a tag
|
||||
./pkg-vsn.sh
|
||||
|
|
Loading…
Reference in New Issue