[segyio] 325/376: Check tag with -not on appveyor

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 959c86eda625670e303e82f75ca55d41f5b4db4e
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Tue Jul 11 09:39:11 2017 +0200

    Check tag with -not on appveyor
---
 appveyor.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index f48c74d..0ed93c5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -85,10 +85,9 @@ after_deploy:
 
 deploy_script:
     - ps: |
-          If ($env:APPVEYOR_PULL_REQUEST_NUMBER) { return }
+          If (-not $env:APPVEYOR_REPO_TAG) { return }
           If ($env:SHARED -eq "ON") { return }
           If ($env:APPVEYOR_REPO_BRANCH -ne "master") { return }
-          If (!$env:APPVEYOR_REPO_TAG ) { return }
 
           Invoke-Expression "twine upload -u statoil-travis -p $env:pypipassword --skip-existing dist/*"
           If ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list