8 lines
293 B
Bash
8 lines
293 B
Bash
|
export version=$( cat version.txt )
|
||
|
export path="/run/user/1000/gvfs/sftp:host=192.168.0.147,user=root/var/www/downloads_page/apps/tytd/binaries"
|
||
|
cd bin/Release/
|
||
|
|
||
|
tar -cvzf "$path"/tytd-binary-$version.tar.gz .
|
||
|
cp "$path"/tytd-binary-$version.tar.gz "$path"/tytd-binary-latest.tar.gz
|
||
|
cd ../..
|