mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-18 17:50:06 +00:00
7 lines
383 B
Batchfile
7 lines
383 B
Batchfile
set /p version=<..\layouts\partials\version.txt
|
|
echo %version%>metrics.%version%.txt
|
|
echo disableAssetsBusting=true>>config.toml
|
|
echo disableGeneratorVersion=true>>config.toml
|
|
hugo --templateMetrics --templateMetricsHints --cleanDestinationDir --destination public.%version% >> metrics.%version%.txt
|
|
move /Y metrics.%version%.txt public.%version%\metrics.txt
|
|
git restore config.toml
|