Skip to content

Commit

Permalink
Merge pull request #37 from potassco:WIP_conda-publish
Browse files Browse the repository at this point in the history
Fix Conda Publish workflow #33
  • Loading branch information
stephanzwicknagl authored Dec 14, 2023
2 parents b05409c + 067e193 commit 9c1bba4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/conda/viasp-dash/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% set name = "viasp-dash" %}
{% set version = "2.0.2" %}
{% set version = environ.get('VERSION_NUMBER') %}
{% set dev = not environ.get('BUILD_RELEASE', false) %}
{% set revision = environ.get('GITHUB_SHA', 'wip') %}
{% set build = environ.get('BUILD_NUMBER', "0") %}

package:
name: {{ name|lower }}
Expand All @@ -11,7 +14,7 @@ source:
build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0
number: {{ build }}

requirements:
host:
Expand Down
8 changes: 6 additions & 2 deletions .github/conda/viasp/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{% set name = "viasp" %}
{% set version = "2.0.2" %}
{% set version = environ.get('VERSION_NUMBER') %}
{% set dev = not environ.get('BUILD_RELEASE', false) %}
{% set revision = environ.get('GITHUB_SHA', 'wip') %}
{% set build = environ.get('BUILD_NUMBER', "0") %}


package:
name: {{ name|lower }}
Expand All @@ -10,7 +14,7 @@ source:

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
script: python -m pip install --no-deps --ignore-installed .
number: {{ build }}

requirements:
Expand Down

0 comments on commit 9c1bba4

Please sign in to comment.