Skip to content

Commit 6223e1c

Browse files
author
Simon Hofmann
committed
Added deployment specifier
1 parent 3c3f7ad commit 6223e1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ test_script:
3838
- npm run test:it
3939

4040
on_success:
41-
- IF defined APPVEYOR_REPO_TAG_NAME npm publish
41+
- sh: if [ -z ${APPVEYOR_REPO_TAG_NAME+x} ] ; then echo $APPVEYOR_REPO_TAG_NAME; else echo "No tag"; fi
42+
- sh: if [ "${nodejs_version+x}" = "12" ]; then echo "node 12"; else echo "node != 12"; fi
43+
- sh: if [ -z ${APPVEYOR_REPO_TAG_NAME+x} ] && [ "${nodejs_version+x}" = "12" ]; then npm publish; fi
4244

4345
build: off
4446
version: "{build}"

0 commit comments

Comments
 (0)