Skip to content

Commit

Permalink
Fix conda deploy versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
gpleiss committed Sep 6, 2024
1 parent f2e6d51 commit 83332c2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{% set data = load_setup_py_data() %}
{% set _version_match = load_file_regex(
load_file="gpytorch/version.py",
regex_pattern="__version__ = version = '(.+)'"
) %}
{% set version = _version_match[1] %}

package:
name: {{ data.get("name")|lower }}
version: {{ data.get("version") }}
name: gpytorch
version: {{ version }}

source:
path: ../
Expand Down

0 comments on commit 83332c2

Please sign in to comment.