Skip to content

Commit cf633d2

Browse files
author
Simon Hofmann
committed
Refined deployment specifier
1 parent a35a40f commit cf633d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appveyor.yml

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

4040
on_success:
41-
- ps: if ($env:APPVEYOR_REPO_TAG_NAME != "") { echo $env:APPVEYOR_REPO_TAG_NAME } else { echo "No tag" }
42-
- ps: if ($env:nodejs_version = "12") { echo "node 12" } else { echo "node != 12" }
43-
- ps: if ($env:APPVEYOR_REPO_TAG_NAME != "") && ($env:nodejs_version = "12") { npm publish }
41+
- ps: if ($env:APPVEYOR_REPO_TAG_NAME) { echo $env:APPVEYOR_REPO_TAG_NAME }
42+
- ps: if ($env:nodejs_version = "12") { echo "node 12" }
43+
- ps: if ($env:APPVEYOR_REPO_TAG_NAME -and $env:nodejs_version = "12") { npm publish }
4444

4545
build: off
4646
version: "{build}"

0 commit comments

Comments
 (0)