mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 08:39:12 +00:00
[BUGFIX] Fixed an issue with the path location
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
local_file="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1)"
|
local_file="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1 | xargs -n 1 basename)"
|
||||||
local_path="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1 | xargs -n 1 basename)"
|
local_path="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1)"
|
||||||
target_url='ftp://$FTP_HOST/$local_file'
|
target_url='ftp://$FTP_HOST/$local_file'
|
||||||
|
|
||||||
echo "Uploading $local_file to $target_url"
|
echo "Uploading $local_file to $target_url"
|
||||||
|
|||||||
Reference in New Issue
Block a user