diff options
author | Charadon <dev@iotib.net> | 2022-07-28 08:25:05 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-07-28 08:25:05 -0400 |
commit | 6ec938cb04edde600e20e20980258b58231b7639 (patch) | |
tree | 3357b1923cd1c35536ffdb139dad9261c49519d6 /post.sh | |
parent | 31e93d820bb2a4f875e50c73e605e910a1778eb7 (diff) | |
download | dscip-6ec938cb04edde600e20e20980258b58231b7639.tar.gz |
Fixed some bugs, and added a bit more consistency to the examples
Diffstat (limited to 'post.sh')
-rwxr-xr-x | post.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/post.sh b/post.sh index 8d5404b..307aa5a 100755 --- a/post.sh +++ b/post.sh @@ -13,10 +13,14 @@ $DSCIP_NAME-$(uname)-$(uname -r)_$(uname -m)-$CURRENT_COMMIT.tar.xz app/ ftp -in <<EOF open 192.168.255.255 user username p@ssw0rd +mkdir $DSCIP_NAME +cd $DSCIP_NAME mkdir $CURRENT_COMMIT cd $CURRENT_COMMIT -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 +mkdir $(uname) +cd $(uname) +put $DSCIP_NAME-$(uname)-$(uname -r)_$(uname -m)-$CURRENT_COMMIT.tar.xz +put $WORKING_DIRECTORY/output.txt output-success.txt close bye EOF |