Unverified Commit ed99c967 authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Update .appveyor.yml

parent 5c63ba8b
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -31,7 +31,15 @@ build_script:
on_success:
- cd ../
- conda build -q recipe/
- ps: $builddir = conda build recipe --output
- ps: $parameters = '-t', "$Env:CONDA_UPLOAD_TOKEN", 'upload', "$builddir", '-l',
                    "dev", '--force', '--no-progress'
- ps: & cmd /c 'anaconda 2>&1' $parameters
- ps:
      $tar_glob = ".\conda-bld\win-*\${Env:PYPKG}-${Env:APPVEYOR_REPO_TAG_NAME}-*.tar.bz2";
      Write-Host "tar_glob $tar_glob";
      if ($Env:APPVEYOR_REPO_TAG_NAME -like "*dev*") {
        $anaconda_label = "dev"
      } else {
        $anaconda_label = "main"
      };
      Write-Host "anaconda_label $anaconda_label";
      $parameters = '-t', "$Env:CONDA_UPLOAD_TOKEN", 'upload', "$tar_glob", '-l',
                    "$anaconda_label", '--force', '--no-progress';
      & cmd /c 'anaconda 2>&1' $parameters;