mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
test: fix version detection
This commit is contained in:
parent
35a4fd83ef
commit
f3c1badb80
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue