Skip to content

Commit

Permalink
Merge pull request #329 from ZLLentz/fix_apply_comments
Browse files Browse the repository at this point in the history
FIX: reinstate git actions in apply script
  • Loading branch information
ZLLentz authored Apr 23, 2024
2 parents 640aca4 + 4aba97b commit 122b8fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/apply_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi
set -e
source "$(dirname `which conda`)/../etc/profile.d/conda.sh"
echo "Updating to latest"
#git checkout master
#git pull origin master
git checkout master
git pull origin master
if [ -z "${2}" ]; then
BASE="pcds"
TAG="${REL}"
Expand All @@ -22,8 +22,8 @@ YAML="${ENV_DIR}/env.yaml"
NAME="${BASE}-${REL}"
echo "Applying release ${NAME}"
echo "Checking for tag ${TAG}"
#git fetch origin
#git checkout "${TAG}"
git fetch origin
git checkout "${TAG}"
echo "Building environment"
mamba env create -n "${NAME}" -f "${YAML}"
./install_activate.sh "${BASE}" "${NAME}"
Expand All @@ -34,5 +34,5 @@ echo "Write-protecting new env"
pushd "${CONDA_ENVS_BASE}"
chmod -R a-w ${NAME}
popd
#git checkout master
git checkout master
echo "Done"

0 comments on commit 122b8fb

Please sign in to comment.