mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Update travis_deploy.sh
This commit is contained in:
parent
82611afa25
commit
0b8d41ed69
@ -4,7 +4,7 @@
|
|||||||
sf_upload()
|
sf_upload()
|
||||||
{
|
{
|
||||||
/usr/bin/expect <<-EOD
|
/usr/bin/expect <<-EOD
|
||||||
spawn scp $1 $2 hyperionsf37@frs.sourceforge.net:/home/frs/project/hyperion-project/$3
|
spawn scp $1 $2 hyperionsf37@frs.sourceforge.net:/home/frs/project/hyperion-project/dev/$3
|
||||||
expect "*(yes/no)*"
|
expect "*(yes/no)*"
|
||||||
send "yes\r"
|
send "yes\r"
|
||||||
expect "*password:*"
|
expect "*password:*"
|
||||||
@ -22,7 +22,7 @@ if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
|||||||
sf_upload $deploylist release
|
sf_upload $deploylist release
|
||||||
elif [[ $TRAVIS_EVENT_TYPE == 'cron' ]]; then
|
elif [[ $TRAVIS_EVENT_TYPE == 'cron' ]]; then
|
||||||
echo "cron upload"
|
echo "cron upload"
|
||||||
sf_upload $deploylist nightly
|
sf_upload $deploylist alpha
|
||||||
else
|
else
|
||||||
echo "PR can't be uploaded for security reasons"
|
echo "PR can't be uploaded for security reasons"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user