Loading .github/workflows/protected_branches.yml +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ jobs: # boa uses mamba to resolve dependencies echo "versioningit reports version=$(versioningit ../)" conda install -y anaconda-client boa conda mambabuild --output-folder . -c conda-forge . VERSION=$(versioningit ../) conda mambabuild --output-folder . -c conda-forge . - name: Verify Conda Package run: | conda verify noarch/imars3d*.tar.bz2 Loading conda.recipe/meta.yaml +10 −4 Original line number Diff line number Diff line # this will reproduce the version from tags to match versioningit {% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0') %} # load information from setup.cfg/setup.py {% set data = load_setup_py_data() %} {% set license = data.get('license') %} {% set description = data.get('description') %} {% set url = data.get('url') %} # this will get the version set by environment variable {% set version = environ.get('VERSION') %} {% set version_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %} package: Loading Loading @@ -45,7 +50,8 @@ test: - imars3d about: home: https://github.com/ornlneutronimaging/iMars3D license: BSD (version 3) home: {{ url }} license: {{ license }} license_family: BSD license_file: ../LICENSE summary: {{ description }} Loading
.github/workflows/protected_branches.yml +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ jobs: # boa uses mamba to resolve dependencies echo "versioningit reports version=$(versioningit ../)" conda install -y anaconda-client boa conda mambabuild --output-folder . -c conda-forge . VERSION=$(versioningit ../) conda mambabuild --output-folder . -c conda-forge . - name: Verify Conda Package run: | conda verify noarch/imars3d*.tar.bz2 Loading
conda.recipe/meta.yaml +10 −4 Original line number Diff line number Diff line # this will reproduce the version from tags to match versioningit {% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0') %} # load information from setup.cfg/setup.py {% set data = load_setup_py_data() %} {% set license = data.get('license') %} {% set description = data.get('description') %} {% set url = data.get('url') %} # this will get the version set by environment variable {% set version = environ.get('VERSION') %} {% set version_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %} package: Loading Loading @@ -45,7 +50,8 @@ test: - imars3d about: home: https://github.com/ornlneutronimaging/iMars3D license: BSD (version 3) home: {{ url }} license: {{ license }} license_family: BSD license_file: ../LICENSE summary: {{ description }}