Fix typo in appveyor
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
39af3ca162
commit
bca4b665a6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue