From ab36004b97f008ff56b7554e82beb28dd688ac54 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 11 Sep 2019 10:39:30 +0200 Subject: [PATCH] [WIP] Build and publish a dev version of kiwix-desktop. --- appveyor.yml | 4 ---- appveyor/deploy.sh | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a039811..6c6bb96 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,10 +12,6 @@ environment: KIWIX_DESKTOP_VERSION: '2.0-rc4' KIWIX_DESKTOP_RELEASE: 1 -branches: - only: - - master - init: - cmd: | echo %TEST_VAR% diff --git a/appveyor/deploy.sh b/appveyor/deploy.sh index 9f0fed5..abf5682 100755 --- a/appveyor/deploy.sh +++ b/appveyor/deploy.sh @@ -12,6 +12,13 @@ then ci@download.kiwix.org:/data/download/nightly fi +if [[ "$APPVEYOR_REPO_BRANCH" != "master" ]] +then + scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \ + ${NIGHTLY_KIWIX_ARCHIVES_DIR} \ + ci@download.kiwix.org:/data/tmp/ci/${APPVEYOR_REPO_BRANCH} +fi + if [[ "$APPVEYOR_REPO_TAG" = "true" ]] then RELEASE_ARCHIVES=$(find $RELEASE_KIWIX_ARCHIVES_DIR -type f)