chore: release cut script should check ee changelog file
This commit is contained in:
parent
db2ec55aa0
commit
445f4c235e
|
@ -253,6 +253,14 @@ generate_changelog () {
|
|||
fi
|
||||
}
|
||||
|
||||
check_changelog() {
|
||||
local file="changes/${TAG}.en.md"
|
||||
if [ ! -f "$file" ]; then
|
||||
logerr "Changelog file $file is missing."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
if [ "$DRYRUN" = 'yes' ]; then
|
||||
logmsg "Release tag is ready to be created with command: git tag $TAG"
|
||||
else
|
||||
|
@ -266,7 +274,10 @@ else
|
|||
*beta*)
|
||||
true
|
||||
;;
|
||||
*)
|
||||
e*)
|
||||
check_changelog
|
||||
;;
|
||||
v*)
|
||||
generate_changelog
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue