|
|
@@ -53,7 +53,8 @@ case "$TAG" in
|
|
|
e*)
|
|
|
TAG_PREFIX='e'
|
|
|
PROFILE='emqx-enterprise'
|
|
|
- SKIP_APPUP='no'
|
|
|
+ #TODO change to no when we are ready to support hot-upgrade
|
|
|
+ SKIP_APPUP='yes'
|
|
|
;;
|
|
|
-h|--help)
|
|
|
usage
|
|
|
@@ -217,7 +218,24 @@ generate_changelog () {
|
|
|
if [ "$DRYRUN" = 'yes' ]; then
|
|
|
logmsg "Release tag is ready to be created with command: git tag $TAG"
|
|
|
else
|
|
|
- generate_changelog
|
|
|
+ case "$TAG" in
|
|
|
+ *rc*)
|
|
|
+ true
|
|
|
+ ;;
|
|
|
+ *alpha*)
|
|
|
+ true
|
|
|
+ ;;
|
|
|
+ *beta*)
|
|
|
+ true
|
|
|
+ ;;
|
|
|
+ e5.0.0*)
|
|
|
+ # the first release has no change log
|
|
|
+ true
|
|
|
+ ;;
|
|
|
+ *)
|
|
|
+ generate_changelog
|
|
|
+ ;;
|
|
|
+ esac
|
|
|
git tag "$TAG"
|
|
|
logmsg "$TAG is created OK."
|
|
|
fi
|