From f3c1badb80d947e0e9c476e4ec852691dcee3081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 9 Jun 2023 15:08:50 +0200 Subject: [PATCH] test: fix version detection --- exampleSite/test.bat | 3 +-- exampleSite/test.min.bat | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/exampleSite/test.bat b/exampleSite/test.bat index ef00b9103d..3f693e8f49 100644 --- a/exampleSite/test.bat +++ b/exampleSite/test.bat @@ -1,6 +1,5 @@ -@echo off setlocal enabledelayedexpansion -set /p version=<..\layouts\partials\version.log +set /p version=<..\layouts\partials\version.txt echo %version%>metrics.%version%.log echo disableAssetsBusting=true>>config.toml echo disableGeneratorVersion=true>>config.toml diff --git a/exampleSite/test.min.bat b/exampleSite/test.min.bat index 9b9ced3251..0ca605895b 100644 --- a/exampleSite/test.min.bat +++ b/exampleSite/test.min.bat @@ -3,7 +3,7 @@ setlocal enabledelayedexpansion set hugo_major=0 set hugo_minor=95 set hugo_patch=0 -set /p version=<..\layouts\partials\version.log +set /p version=<..\layouts\partials\version.txt echo %version%>metrics.%version%.hugo.%hugo_major%.%hugo_minor%.%hugo_patch%.log echo disableAssetsBusting=true>>config.toml echo disableGeneratorVersion=true>>config.toml