From bca4b665a66491f0c5466120c6a213e96b243e12 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Fri, 18 Feb 2022 06:26:28 +0000 Subject: [PATCH] Fix typo in appveyor --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5e9e8bd..1f0dd83 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,13 +32,13 @@ test_script: npm run test:integration deploy_script: - - sh | + - sh: | CURR_VER=$(npm view package.json version) if curl -s -X GET -H "token: $deploytoken" https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases | grep -o "\"name\"\:\"v${CURR_VER}\"" > /dev/null; then echo "Release already exists, nothing to do."; else ./test/7zas a -mx9 "${CURR_VER}_sc-core.7z" package.json index.mjs cli.mjs core bin - + npm publish fi