mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
check if the build branch type is coherent between what the user has specified and what is entered in the changelog
This commit is contained in:
parent
b0a7f727d4
commit
7a4bad404b
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,12 @@ function checkout_tag()
|
|||
|
||||
function build()
|
||||
{
|
||||
# check if the build branch type is coherent between what the user has specified and what is entered in the changelog
|
||||
if ! [[ head -n 1 debian/changelog == *"$BRANCH"* ]]; then
|
||||
echo "The specified branch type is not coherent with the changelog one!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create temporary folder
|
||||
TMP_FOLDER=$(mktemp -d)
|
||||
|
||||
|
|
Loading…
Reference in a new issue