automation-lib 5.7.15 → 5.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commit.bat +5 -5
- package/dist/index.d.mts +10 -30
- package/dist/index.d.ts +10 -30
- package/package.json +1 -1
package/commit.bat
CHANGED
|
@@ -7,10 +7,10 @@ git add .
|
|
|
7
7
|
echo Committing changes...
|
|
8
8
|
set /p commit_message="Enter commit message: "
|
|
9
9
|
git commit -m "%commit_message%"
|
|
10
|
-
|
|
10
|
+
timeout /t 2 /nobreak >nul
|
|
11
11
|
|
|
12
12
|
:: Push changes to the 'main' branch of the 'cp' remote
|
|
13
|
-
git pull
|
|
13
|
+
git pull hs main
|
|
14
14
|
|
|
15
15
|
:: Read the current version from package.json
|
|
16
16
|
for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
|
|
@@ -41,10 +41,10 @@ echo New version: %newVersion%
|
|
|
41
41
|
call npm run pub
|
|
42
42
|
|
|
43
43
|
git add .
|
|
44
|
-
|
|
44
|
+
timeout /t 1 /nobreak >nul
|
|
45
45
|
git commit -m "%commit_message%"
|
|
46
|
-
|
|
46
|
+
timeout /t 2 /nobreak >nul
|
|
47
47
|
|
|
48
|
-
git push
|
|
48
|
+
git push hs main
|
|
49
49
|
|
|
50
50
|
|