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
|
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
|
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
|
||||||
|
@ -266,7 +274,10 @@ else
|
||||||
*beta*)
|
*beta*)
|
||||||
true
|
true
|
||||||
;;
|
;;
|
||||||
*)
|
e*)
|
||||||
|
check_changelog
|
||||||
|
;;
|
||||||
|
v*)
|
||||||
generate_changelog
|
generate_changelog
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue