build: functions.bash: Checkout git submodules
This commit is contained in:
والد
c76b9cf7b5
کامیت
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"/
|
||||||
}
|
}
|
||||||
|
بارگذاری…
x
مرجع در شماره جدید
Block a user