diff --git a/bob/devtools/data/conda_build_config.yaml b/bob/devtools/data/conda_build_config.yaml index ce955ffaaa3bb2b369916a6eae2f7870bcca6734..98710068856dc0e1eddc04a9d19fbf62c7a49ec2 100644 --- a/bob/devtools/data/conda_build_config.yaml +++ b/bob/devtools/data/conda_build_config.yaml @@ -291,10 +291,6 @@ pin_run_as_build: # names here should not contain dots or dashes. You should replace dots and dashes with # underlines. -# update this version to the current date when you modify the pins below -bob_devel_version: - - 2021.10.04 - # AUTOMATIC PARSING START # DO NOT MODIFY THIS COMMENT diff --git a/deps/bob-devel/meta.template.yaml b/deps/bob-devel/meta.template.yaml index fad8b156624db6108be107d5b9bf8e632cdab511..4744ee94020449e6e8c7d136f19211da22c2d24c 100644 --- a/deps/bob-devel/meta.template.yaml +++ b/deps/bob-devel/meta.template.yaml @@ -1,6 +1,8 @@ +{% set version = datetime.datetime.utcnow().strftime('%Y%m%d.%H.%M.%S') %} + package: name: bob-devel - version: {{ bob_devel_version }} + version: {{ version }} build: number: 0 diff --git a/doc/templates.rst b/doc/templates.rst index 53be9b40e635b61e2352035035035b4fda4d8bca..4c543a798e784165bca55986d8aa4f4cb72d0158 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -459,15 +459,7 @@ you should perform some extra steps: [your dependecy here] -2. In the file ``bob.devtools/bob/devtools/data/conda_buid_config.yaml``, - update the version of ``bob-devel`` with the current date, in the format preset. - - .. code-block:: yaml - - bob_devel_version: - - 2021.09.14 <-- HERE - -3. Submit a merge request with your changes. +2. Submit a merge request with your changes. Updating a dependency version