Skip to content

Commit

Permalink
Fixed naming bug from nlu to csi
Browse files Browse the repository at this point in the history
  • Loading branch information
teddius committed Apr 15, 2023
1 parent bc024d4 commit d176ae8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ generate_csi_protos:

setup_conda_env: ## Checks for CONDA Environment
@echo "\n START SETTING UP CONDA ENV \n"
@conda env list | grep -q ondewo-nlu-client-python \
@conda env list | grep -q ondewo-csi-client-python \
&& make release || ( echo "\n CONDA ENV FOR REPO DOESNT EXIST \n" \
&& make create_conda_env)

create_conda_env: ##Creates CONDA Environment
conda create -y --name ondewo-nlu-client-python python=3.8
/bin/bash -c 'source `conda info --base`/bin/activate ondewo-nlu-client-python; make setup_developer_environment_locally && echo "\n PRECOMMIT INSTALLED \n"'
conda create -y --name ondewo-csi-client-python python=3.8
/bin/bash -c 'source `conda info --base`/bin/activate ondewo-csi-client-python; make setup_developer_environment_locally && echo "\n PRECOMMIT INSTALLED \n"'
make release

########################################################
Expand Down Expand Up @@ -260,7 +260,7 @@ clone_devops_accounts: ## Clones devops-accounts repo

run_release_with_devops:
$(eval info:= $(shell cat ${DEVOPS_ACCOUNT_DIR}/account_github.env | grep GITHUB_GH & cat ${DEVOPS_ACCOUNT_DIR}/account_pypi.env | grep PYPI_USERNAME & cat ${DEVOPS_ACCOUNT_DIR}/account_pypi.env | grep PYPI_PASSWORD))
@echo ${CONDA_PREFIX} | grep -q nlu-client-python && make release $(info) || (make setup_conda_env $(info))
@echo ${CONDA_PREFIX} | grep -q csi-client-python && make release $(info) || (make setup_conda_env $(info))

spc: ## Checks if the Release Branch, Tag and Pypi version already exist
$(eval filtered_branches:= $(shell git branch --all | grep "release/${ONDEWO_CSI_VERSION}"))
Expand Down

0 comments on commit d176ae8

Please sign in to comment.