Skip to content

Commit

Permalink
Conda - lock-environment.sh; add step to remove old lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
jomey committed Jul 21, 2023
1 parent 9b8a630 commit 03035ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conda/lock-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ if [[ ! -s "${ENV_FILE}" ]]; then
exit 1
fi

# https://github.com/conda/conda-lock/issues/196
rm *lock.yml

# Local environments
## Generate explicit lock files
conda-lock lock --mamba -f ${ENV_FILE}
Expand Down

0 comments on commit 03035ad

Please sign in to comment.