From 03abf5b0577e0c03f73767a92500248853a06474 Mon Sep 17 00:00:00 2001 From: Stephan Zwicknagl Date: Wed, 13 Dec 2023 11:32:04 -1000 Subject: [PATCH 1/2] environment variables potassco/viasp#33 --- .github/conda/viasp-dash/meta.yaml | 5 ++++- .github/conda/viasp/meta.yaml | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/conda/viasp-dash/meta.yaml b/.github/conda/viasp-dash/meta.yaml index c15c680b..6290756b 100644 --- a/.github/conda/viasp-dash/meta.yaml +++ b/.github/conda/viasp-dash/meta.yaml @@ -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 }} diff --git a/.github/conda/viasp/meta.yaml b/.github/conda/viasp/meta.yaml index f8766760..4c3ee44e 100644 --- a/.github/conda/viasp/meta.yaml +++ b/.github/conda/viasp/meta.yaml @@ -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 }} From 067e193f8e970ad73888360997246b020ce5a5a2 Mon Sep 17 00:00:00 2001 From: Stephan Zwicknagl Date: Wed, 13 Dec 2023 12:04:21 -1000 Subject: [PATCH 2/2] potassco/viasp#33: update wrapper build script --- .github/conda/viasp-dash/meta.yaml | 2 +- .github/conda/viasp/meta.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/conda/viasp-dash/meta.yaml b/.github/conda/viasp-dash/meta.yaml index 6290756b..120a9c27 100644 --- a/.github/conda/viasp-dash/meta.yaml +++ b/.github/conda/viasp-dash/meta.yaml @@ -14,7 +14,7 @@ source: build: noarch: python script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation - number: 0 + number: {{ build }} requirements: host: diff --git a/.github/conda/viasp/meta.yaml b/.github/conda/viasp/meta.yaml index 4c3ee44e..991355c8 100644 --- a/.github/conda/viasp/meta.yaml +++ b/.github/conda/viasp/meta.yaml @@ -14,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: