automation-lib 6.6.166 → 6.6.169

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