mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update vesta_compile.sh
This commit is contained in:
parent
5f60eea486
commit
35bd47c5cd
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,8 @@ PATH_OF_APT_REPO="$PATH_OF_APT_REPO_ROOT/$TARGET_DEB_NAME"
|
||||||
VESTA_VER=$(curl -s https://raw.githubusercontent.com/myvesta/vesta/master/src/deb/latest.txt)
|
VESTA_VER=$(curl -s https://raw.githubusercontent.com/myvesta/vesta/master/src/deb/latest.txt)
|
||||||
VESTA_VER=${VESTA_VER:6}
|
VESTA_VER=${VESTA_VER:6}
|
||||||
|
|
||||||
|
BUILD_DATE=$(date +"%m-%b-%Y")
|
||||||
|
|
||||||
# Set Version for compiling
|
# Set Version for compiling
|
||||||
VESTA_V=$VESTA_VER"_amd64"
|
VESTA_V=$VESTA_VER"_amd64"
|
||||||
NGINX_V='1.17.7'
|
NGINX_V='1.17.7'
|
||||||
|
@ -274,6 +276,7 @@ if [ "$CWEB_B" = true ]; then
|
||||||
cp /root/vesta/install/debian/$TARGET_DEB_VER_MAIN/deb_signing.key $PATH_OF_C_WEB_FOLDER_ROOT/deb_signing.key
|
cp /root/vesta/install/debian/$TARGET_DEB_VER_MAIN/deb_signing.key $PATH_OF_C_WEB_FOLDER_ROOT/deb_signing.key
|
||||||
fi
|
fi
|
||||||
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
|
||||||
cd $PATH_OF_C_WEB_FOLDER
|
cd $PATH_OF_C_WEB_FOLDER
|
||||||
|
|
||||||
if [ -f "packages.tar.gz" ]; then
|
if [ -f "packages.tar.gz" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue