chore: do not gnerate change log when first release or alpha, beta, rc
This commit is contained in:
parent
941216b6d0
commit
e8910c9748
|
@ -218,7 +218,24 @@ generate_changelog () {
|
||||||
if [ "$DRYRUN" = 'yes' ]; then
|
if [ "$DRYRUN" = 'yes' ]; then
|
||||||
logmsg "Release tag is ready to be created with command: git tag $TAG"
|
logmsg "Release tag is ready to be created with command: git tag $TAG"
|
||||||
else
|
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"
|
git tag "$TAG"
|
||||||
logmsg "$TAG is created OK."
|
logmsg "$TAG is created OK."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue