Skip to content

Commit e1fbafb

Browse files
committed
keep deno-version around for auto-update
1 parent 65077cd commit e1fbafb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

configure.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ if [[ "${QUARTO_VENDOR_BINARIES}" = "true" ]]; then
6262
echo [Upgrading Deno to Canary]
6363
./deno upgrade --canary --version $DENO_CANARY_COMMIT
6464
fi
65+
66+
# write deno version file for later use
67+
echo $DENO > $QUARTO_BIN_PATH/../config/deno-version
6568
fi
6669
export DENO_BIN_PATH=$QUARTO_BIN_PATH/tools/$DENO_DIR/deno
6770
else

package/scripts/common/quarto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ if [ -f "$DEV_PATH" ]; then
6969
if [ "${DENO_SOURCE_VERSION}" != "${DENO_INSTALLED_VERSION}" ]; then
7070
# configure will call back into this script so we need to update the
7171
# version so that the check will pass next time through
72-
echo "$DENO_SOURCE_VERSION" > "$DENO_VERSION_FILE"
7372
(cd "$QUARTO_ROOT" && ./configure.sh)
7473
echo ""
7574
printf "\\033[0;31mQuarto required reconfiguration to install Deno. Had ${DENO_INSTALLED_VERSION}, needed ${DENO_SOURCE_VERSION}. Please try command again.\\033[0m\n\n"

0 commit comments

Comments
 (0)