From 6e4d39a6ee0120cffcec34fca0e9371e60599178 Mon Sep 17 00:00:00 2001 From: HypoxiE Date: Sat, 26 Jul 2025 21:38:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=84=D0=BE=D1=80=D0=BC=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=B0=D0=BD=D0=B0=D0=BB=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B0=D0=B2=D0=B8=D0=B3=D0=B0=D1=86=D0=B8=D0=B8=20|=20ve?= =?UTF-8?q?rsion:=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commit.bat | 6 ++++-- version.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/commit.bat b/commit.bat index 5e530a3..b7bf6f4 100644 --- a/commit.bat +++ b/commit.bat @@ -21,7 +21,9 @@ for /f "usebackq delims=" %%A in ("version.txt") do ( REM Получение комментария к коммиту set commit_msg="%description% | version: %version%" -REM echo %commit_msg% +echo %description%>version.txt +set /a version+=1 +echo !version!>>version.txt REM Добавление всех изменений git add . @@ -30,6 +32,6 @@ REM Создание коммита git commit -m %commit_msg% REM Отправка в основную ветку (main или master) -REM git push +git push pause \ No newline at end of file diff --git a/version.txt b/version.txt index 922f7eb..6cb54df 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ Оформление канала навигации -1 \ No newline at end of file +3