build: functions.bash: Checkout git submodules
This commit is contained in:
parent
c76b9cf7b5
commit
fa38977813
@ -34,6 +34,9 @@ function build_git_repo()
|
|||||||
sed -e "s/VERSION_PLACEHOLDER/$VERSION_CHANGELOG/g" -i ./debian/changelog
|
sed -e "s/VERSION_PLACEHOLDER/$VERSION_CHANGELOG/g" -i ./debian/changelog
|
||||||
DATE_CHANGELOG=$(date -R)
|
DATE_CHANGELOG=$(date -R)
|
||||||
sed -e "s/DATE_PLACEHOLDER/$DATE_CHANGELOG/g" -i ./debian/changelog
|
sed -e "s/DATE_PLACEHOLDER/$DATE_CHANGELOG/g" -i ./debian/changelog
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
cp -a ../*.deb "$TARGET_DIR"/
|
cp -a ../*.deb "$TARGET_DIR"/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user