Skip to content

Commit 88eabe9

Browse files
Lucas Hosseinifacebook-github-bot
Lucas Hosseini
authored andcommitted
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
1 parent f171d19 commit 88eabe9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conda/faiss-gpu/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
{% set version = GIT_DESCRIBE_TAG %}
6+
{% set version = environ.get('GIT_DESCRIBE_TAG').lstrip('v') %}
77
{% set number = GIT_DESCRIBE_NUMBER %}
88

99
package:

conda/faiss/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
{% set version = GIT_DESCRIBE_TAG %}
6+
{% set version = environ.get('GIT_DESCRIBE_TAG').lstrip('v') %}
77
{% set number = GIT_DESCRIBE_NUMBER %}
88

99
package:

0 commit comments

Comments
 (0)