From f48670c3984181532500ef0d52e09eb6859f1f3d Mon Sep 17 00:00:00 2001 From: AliReZa Sabouri Date: Fri, 21 Jun 2024 14:19:25 +0200 Subject: [PATCH] chore: add update version script --- update-version.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 update-version.bat 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% +