From acc3c08435d92519234b465ba9234231a8745bdf Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Thu, 18 Aug 2022 10:29:55 +0000 Subject: [PATCH] appveyor: Fix last few issues in appveyor --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5a4fcd9..b74c049 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -77,7 +77,7 @@ build_script: -H "Authorization: token $deploytoken" \ -H "Content-Type: application/json" \ https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases \ - -d "{\"tag_name\":\"v${CURR_VER}\",\"name\":\"v${CURR_NAME}\",\"body\":\"Automatic release from Appveyor from ${APPVEYOR_REPO_COMMIT} :\n\n${APPVEYOR_REPO_COMMIT_MESSAGE}\"}") + -d "{\"tag_name\":\"${CURR_VER}\",\"name\":\"${CURR_NAME}\",\"body\":\"Automatic release from Appveyor from ${APPVEYOR_REPO_COMMIT} :\n\n${APPVEYOR_REPO_COMMIT_MESSAGE}\"}") CHECK=$? if [ $CHECK -ne 0 ]; then echo "Command failed with error code $CHECK" @@ -101,10 +101,10 @@ build_script: echo "Deplying to production" MAN_PORT=$(cat package.json | jq -r .port) MAN_NAME=$(cat package.json | jq -r .name) - Echo "curl -X POST http://192.168.93.50:$MAN_PORT/update/$MAN_NAME" + echo "curl -X POST http://192.168.93.50:$MAN_PORT/update/$MAN_NAME" curl -X POST http://192.168.93.50:$MAN_PORT/update/$MAN_NAME fi - cd.. + cd .. done if [ $SUCCESS -eq 0 ]; then