automation-lib 6.6.158 → 6.6.162

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 CHANGED
@@ -7,10 +7,12 @@ git add .
7
7
  echo Committing changes...
8
8
  set /p commit_message="Enter commit message: "
9
9
  git commit -m "%commit_message%"
10
- sleep 2
10
+ timeout /t 2 /nobreak >nul
11
11
 
12
12
  :: Push changes to the 'main' branch of the 'cp' remote
13
- git pull origin toan
13
+ git pull hs toan
14
+ timeout /t 2 /nobreak >nul
15
+ git pull hs main
14
16
 
15
17
  :: Read the current version from package.json
16
18
  for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
@@ -41,10 +43,10 @@ echo New version: %newVersion%
41
43
  call npm run pub
42
44
 
43
45
  git add .
44
- sleep 1
46
+ timeout /t 1 /nobreak >nul
45
47
  git commit -m "%commit_message%"
46
- sleep 2
48
+ timeout /t 2 /nobreak >nul
47
49
 
48
- git push origin toan
50
+ git push hs main
49
51
 
50
52