mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Update packaging_script_AppImage.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#nettoyage des chroots
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|
||||||
@@ -48,12 +48,12 @@ chmod -x QElectroTech_$tagName-r$HEAD-x86_64.AppImage
|
|||||||
shasum -a 256 QElectroTech_$tagName-r$HEAD-x86_64.AppImage > QElectroTech_$tagName-r$HEAD-x86_64.AppImage-SHA256.txt
|
shasum -a 256 QElectroTech_$tagName-r$HEAD-x86_64.AppImage > QElectroTech_$tagName-r$HEAD-x86_64.AppImage-SHA256.txt
|
||||||
mv QElectroTech_$tagName-r$HEAD-x86_64.AppImage* ../AppImage/0.100.0/
|
mv QElectroTech_$tagName-r$HEAD-x86_64.AppImage* ../AppImage/0.100.0/
|
||||||
cd ..
|
cd ..
|
||||||
#rsync to TF
|
#rsync to server
|
||||||
echo -e "\033[1;31mWould you like to RSYNC Debian packages to TF n/Y?.\033[m"
|
echo -e "\033[1;31mWould you like to RSYNC Appimage to server n/Y?.\033[m"
|
||||||
read a
|
read a
|
||||||
if [[ $a == "Y" || $a == "y" ]]; then
|
if [[ $a == "Y" || $a == "y" ]]; then
|
||||||
echo -e "\033[1;33mRsync to TF qelectrotech-$VERSION.r$HEAD .\033[m"
|
echo -e "\033[1;33mRsync to server qelectrotech-$VERSION.r$HEAD .\033[m"
|
||||||
echo -e "\033[1;31mrsync to TF password ssh and TF\033[m"
|
echo -e "\033[1;31mrsync to server password ssh and TF\033[m"
|
||||||
cd $DEFAULT_DIR/script
|
cd $DEFAULT_DIR/script
|
||||||
rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress ~/qelectrotech-source-mirror/AppImage/0.100.0/ server:download.qelectrotech.org/qet/builds/AppImage/0.100.0/
|
rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress ~/qelectrotech-source-mirror/AppImage/0.100.0/ server:download.qelectrotech.org/qet/builds/AppImage/0.100.0/
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user