diff options
Diffstat (limited to 'post.sh')
-rwxr-xr-x | post.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/post.sh b/post.sh index 93b324e..8d5404b 100755 --- a/post.sh +++ b/post.sh @@ -6,7 +6,8 @@ set -eu # Example below. # # TAR up the program. # -bsdtar -a -cf program-$CURRENT_COMMIT.tar.gz app/ +bsdtar --options xz:compression-level=9 -a -cf \ +$DSCIP_NAME-$(uname)-$(uname -r)_$(uname -m)-$CURRENT_COMMIT.tar.xz app/ # Send the artifacts to an FTP server. # ftp -in <<EOF @@ -14,8 +15,8 @@ open 192.168.255.255 user username p@ssw0rd mkdir $CURRENT_COMMIT cd $CURRENT_COMMIT -put program-$CURRENT_COMMIT.tar.gz program-$CURRENT_COMMIT.tar.gz -put $WORKING_DIRECTORY/output.txt $CURRENT_COMMIT-output.txt +put $DSCIP_NAME-$(uname)-$(uname -r)_$(uname -m)-$CURRENT_COMMIT.tar.xz $DSCIP_NAME-$(uname)-$(uname -r)_$(uname -m)-$CURRENT_COMMIT.tar.xz +put $WORKING_DIRECTORY/output.txt output-$CURRENT_COMMIT.txt close bye EOF |