Skip to content

Commit

Permalink
chore: add update version script
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezanet committed Jun 21, 2024
1 parent a8b1904 commit f48670c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions update-version.bat
Original file line number Diff line number Diff line change
@@ -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%

0 comments on commit f48670c

Please sign in to comment.