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: 7abfb547fee3468b26fedb6637a15e725755daf3pull/1541/head v1.6.5
parent
f171d19ae8
commit
88eabe97f9
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue