Fix conda build cmd for nightly packages.

Reviewed By: mdouze

Differential Revision: D24269549

fbshipit-source-id: 8e6800781ae54a67c1d2424611a761f838d12026
This commit is contained in:
Lucas Hosseini 2020-10-12 22:13:36 -07:00 committed by Facebook GitHub Bot
parent 52c6465a5e
commit 882d4f1051

View File

@ -128,7 +128,7 @@ jobs:
- run: |
cd conda
if [ "<<parameters.nightly>>" = "true" ]; then
FAISS_VERSION="1.0.0_nightly_$(date '+%Y%m%d')" conda build faiss --user pytorch --labels nightly
FAISS_VERSION="1.0.0_nightly_$(date '+%Y%m%d')" conda build faiss --user pytorch --label nightly
else
conda build faiss --user pytorch
fi
@ -160,7 +160,7 @@ jobs:
exit
cd conda
if [ "<<parameters.nightly>>" = "true" ]; then
FAISS_VERSION="1.0.0_nightly_$(date '+%Y%m%d')" conda build faiss --user pytorch --labels nightly
FAISS_VERSION="1.0.0_nightly_$(date '+%Y%m%d')" conda build faiss --user pytorch --label nightly
else
conda build faiss --user pytorch
fi
@ -183,7 +183,7 @@ jobs:
- run: |
cd conda
if [ "<<parameters.nightly>>" = "true" ]; then
FAISS_VERSION="1.0.0_nightly_$(date '+%Y%m%d')" conda build faiss --user pytorch --labels nightly
FAISS_VERSION="1.0.0_nightly_$(date '+%Y%m%d')" conda build faiss --user pytorch --label nightly
else
conda build faiss --user pytorch
fi