From 56ca407ad9880717bb8b955d6eeddad821c105df Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 25 Sep 2018 15:48:41 +0000 Subject: [PATCH] no need to use variable for something that isn't dynamic. one may just get the wrong impression --- .drone.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index efb9bcb..fa2e25f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,12 +2,11 @@ pipeline: build: image: registry.v1.cloud.wit.com/toby/packager:1.3 commands: - - export DEBNAME=wit-pxeboot - - echo "$DEBNAME (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(date -R)" >debian/changelog + - echo "wit-pxeboot (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(date -R)" >debian/changelog - ./create_pxeinitrd.sh - dpkg-buildpackage --no-sign - - ls -lha ../$DEBNAME_*_all.deb + - ls -lha ../wit-pxeboot_*_all.deb - echo "$SSH_KEY" >/tmp/id_rsa - chmod 600 /tmp/id_rsa - - scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../$DEBNAME_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming + - scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming secrets: [ ssh_key ]