diff --git a/conda/cmake_recipe_template/meta.yaml b/conda/cmake_recipe_template/meta.yaml index 8301fdedd..f34c90ece 100644 --- a/conda/cmake_recipe_template/meta.yaml +++ b/conda/cmake_recipe_template/meta.yaml @@ -2,7 +2,7 @@ package: {% raw %} name: {{ name }} {% endraw %} - version: "{{ version.replace("v","") }}" + version: "{{ version.replace("v","").replace("release-","") }}" source: git_url: https://github.com/{{ github_repo }}.git diff --git a/conda/metapackages_recipes_template/robotology-distro-all.yaml b/conda/metapackages_recipes_template/robotology-distro-all.yaml index 0070e1e13..c4b49eeaa 100644 --- a/conda/metapackages_recipes_template/robotology-distro-all.yaml +++ b/conda/metapackages_recipes_template/robotology-distro-all.yaml @@ -8,7 +8,7 @@ build: requirements: # We use run as installing robotology-distro-all should install all robotology packages run: {# List all packages and the version dependency. #} -{% for pkg in robotology_all_packages %} - {{ pkg.name }}={{ pkg.version.replace("v","") }} +{% for pkg in robotology_all_packages %} - {{ pkg.name }}={{ pkg.version.replace("v","").replace("release-","") }} {% endfor %} about: diff --git a/conda/metapackages_recipes_template/robotology-distro.yaml b/conda/metapackages_recipes_template/robotology-distro.yaml index 877f2d301..bc63d2463 100644 --- a/conda/metapackages_recipes_template/robotology-distro.yaml +++ b/conda/metapackages_recipes_template/robotology-distro.yaml @@ -10,7 +10,7 @@ requirements: # the specified package is used if the package is installed, but # we do not depend explicitly on the packages run_constrained: {# List all packages and the version dependency. #} -{% for pkg in robotology_all_packages %} - {{ pkg.name }}={{ pkg.version.replace("v","") }} +{% for pkg in robotology_all_packages %} - {{ pkg.name }}={{ pkg.version.replace("v","").replace("release-","") }} {% endfor %} about: