diff --git a/update-version.bat b/update-version.bat new file mode 100644 index 00000000..15d41afb --- /dev/null +++ b/update-version.bat @@ -0,0 +1,12 @@ +@echo off +setlocal enabledelayedexpansion + +REM Check if an argument is passed to the script +if "%~1"=="" ( + set /p new_version=Enter the new version number: +) else ( + set new_version=%~1 +) + +dotnet husky run -n update-version -a %new_version% +