Skip to content

Commit

Permalink
wip: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Aug 25, 2023
1 parent 147766d commit 1660bd3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,10 @@ for env_file in $BUILDPACK_VARIABLES ; do
[ -f "$ENV_DIR/$env_file" ] && export "$(basename "$env_file")=$(cat "$ENV_DIR/$env_file" 2>/dev/null)"
done

log "Initial POETRY_VERSION value: ${POETRY_VERSION:-Not Set}"
log "Current directory: $(pwd)"
ls -al

POETRY_VERSION="${POETRY_VERSION:-}"
if [ -z "${POETRY_VERSION:-}" ] ; then
if [ -f "$BUILD_DIR/poetry.lock" ]; then
POETRY_VERSION=$(head --lines=1 "$BUILD_DIR/poetry.lock" | grep --only-matching '\d\+\.\d\+\.\d\+')
log "Extracted version from poetry.lock: $POETRY_VERSION"
fi
if [ -z "$POETRY_VERSION" ] ; then
export POETRY_VERSION=1.5.1
Expand Down

0 comments on commit 1660bd3

Please sign in to comment.