From 3014a858033e6f470da6e4ac2f5a9e4215793a5f Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 26 Feb 2024 10:33:41 -0800 Subject: [PATCH] Move DIR to before where it is needed --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 71ef8613..7d319511 100644 --- a/.drone.yml +++ b/.drone.yml @@ -128,10 +128,10 @@ steps: - echo $BUILDFILES_KEY > ~/id_rsab64 - base64 -d ~/id_rsab64 > ~/id_rsa - chmod 400 ~/id_rsa + - export DIR=flwtch-`cat COMMIT_DATE`-`cat VERSION` - ./gen-nightly-index.sh $DIR - scp -r -o StrictHostKeyChecking=no -i ~/id_rsa cwtch-nightly.html buildfiles@build.openprivacy.ca:/home/buildfiles/buildfiles/ - ./uploaded-releases.sh deploy/cwtch-`cat VERSION`.apk application/vnd.android.package-archive - - export DIR=flwtch-`cat COMMIT_DATE`-`cat VERSION` - mv deploy $DIR - cp -r coverage/html $DIR/coverage-tests - cp -r test/failures $DIR/test-failures || true