mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
call custom_callback.sh in vesta_compile.sh
This commit is contained in:
parent
c57b15b5da
commit
438bd68067
1 changed files with 6 additions and 0 deletions
|
@ -278,6 +278,12 @@ if [ "$CWEB_B" = true ]; then
|
||||||
cp /root/vesta/src/deb/latest.txt $PATH_OF_C_WEB_FOLDER_ROOT/latest.txt
|
cp /root/vesta/src/deb/latest.txt $PATH_OF_C_WEB_FOLDER_ROOT/latest.txt
|
||||||
echo "$BUILD_DATE" > $PATH_OF_C_WEB_FOLDER_ROOT/build_date.txt
|
echo "$BUILD_DATE" > $PATH_OF_C_WEB_FOLDER_ROOT/build_date.txt
|
||||||
|
|
||||||
|
if [ -f "/root/custom_callback.sh" ]; then
|
||||||
|
BUILD_RELEASE=$(</root/vesta/src/deb/latest.txt)
|
||||||
|
BUILD_RELEASE=${BUILD_RELEASE:6}
|
||||||
|
bash /root/custom_callback.sh "$BUILD_RELEASE" "$BUILD_DATE" "/root/vesta/Changelog.md"
|
||||||
|
fi
|
||||||
|
|
||||||
###########
|
###########
|
||||||
cd $PATH_OF_C_WEB_FOLDER_ROOT/debian/8
|
cd $PATH_OF_C_WEB_FOLDER_ROOT/debian/8
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue