build: functions.bash: Checkout git submodules

This commit is contained in:
Albert S. 2022-06-06 17:15:05 +02:00
parent c76b9cf7b5
commit fa38977813
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ function build_git_repo()
sed -e "s/VERSION_PLACEHOLDER/$VERSION_CHANGELOG/g" -i ./debian/changelog
DATE_CHANGELOG=$(date -R)
sed -e "s/DATE_PLACEHOLDER/$DATE_CHANGELOG/g" -i ./debian/changelog
git submodule init
git submodule update
dpkg-buildpackage --no-sign
cp -a ../*.deb "$TARGET_DIR"/
}