-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub.bat
More file actions
34 lines (27 loc) · 848 Bytes
/
Copy pathgithub.bat
File metadata and controls
34 lines (27 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@echo off
set "updateComponents=true"
set "updateCalendar=true"
set baseBranch="staging"
if "%updateComponents%" == "true" if "%updateCalendar%" == "true" (
::call npm update boom-components boom-calendar
set commitName="Update boom-calendar and boom-components"
)
if "%updateComponents%" == "true" if "%updateCalendar%" == "false" (
::call npm update boom-components
set commitName="Update boom-components"
)
if "%updateComponents%" == "false" if "%updateCalendar%" == "true" (
::call npm update boom-calendar
set commitName="Update boom-calendar"
)
if "%updateComponents%" == "false" if "%updateCalendar%" == "false" (
echo "Exit"
exit
)
set commitName="Test 2"
git config --add --bool push.autoSetupRemote true
git add .
git commit -m %commitName%
git push
gh pr create -t %commitName% -b ""
gh pr merge -m