Fix version string in conda builds.

Summary: Currently, conda version strings are built from the latest git tag, which starts with the letter `v`. This confuses conda, which orders v1.6.5 before 1.6.3.

Reviewed By: LowikC

Differential Revision: D25151276

fbshipit-source-id: 7abfb547fee3468b26fedb6637a15e725755daf3
pull/1541/head v1.6.5
Lucas Hosseini 2020-11-22 08:56:42 -08:00 committed by Facebook GitHub Bot
parent f171d19ae8
commit 88eabe97f9
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
{% set version = GIT_DESCRIBE_TAG %}
{% set version = environ.get('GIT_DESCRIBE_TAG').lstrip('v') %}
{% set number = GIT_DESCRIBE_NUMBER %}
package:

View File

@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
{% set version = GIT_DESCRIBE_TAG %}
{% set version = environ.get('GIT_DESCRIBE_TAG').lstrip('v') %}
{% set number = GIT_DESCRIBE_NUMBER %}
package: