Skip to content

Commit

Permalink
Adjust date_string value
Browse files Browse the repository at this point in the history
  • Loading branch information
jdye64 committed Jan 17, 2025
1 parent 246d395 commit 11aec68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion conda/packages/nv_ingest/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
{% set data = load_setup_py_data() %}
{% set name = data.get('name', 'nv_ingest') | lower %}
{% set version = data.get('version') %}
{% set py_version = environ['CONDA_PY'] %}
{% set date_string = "$(date +%y%m%d)" %}

# Determine Git root, falling back to default path ../../.. if Git is not available or the directory is not a Git repo
{% set git_root = environ.get('GIT_ROOT', '../../..') %}
Expand All @@ -18,7 +20,7 @@ source:

build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
string: py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script:
- {{ PYTHON }} -m pip install . --no-deps -vv

Expand Down
4 changes: 3 additions & 1 deletion conda/packages/nv_ingest_client/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
{% set data = load_setup_py_data() %}
{% set name = data.get('name', 'nv_ingest_client') | lower %}
{% set version = data.get('version') %}
{% set py_version = environ['CONDA_PY'] %}
{% set date_string = "$(date +%y%m%d)" %}

# Determine Git root, falling back to default path ../../.. if Git is not available or the directory is not a Git repo
{% set git_root = environ.get('GIT_ROOT', '../../../client') %}
Expand All @@ -18,7 +20,7 @@ source:

build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
string: py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script:
- {{ PYTHON }} -m pip install ./ --no-deps -vv

Expand Down

0 comments on commit 11aec68

Please sign in to comment.