-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathהעלה_ל_GitHub.bat
More file actions
33 lines (30 loc) · 1.37 KB
/
Copy pathהעלה_ל_GitHub.bat
File metadata and controls
33 lines (30 loc) · 1.37 KB
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
@echo off
chcp 65001 >nul
echo ===================================
echo YomiWidget — העלאה ל-GitHub
echo ===================================
echo.
echo שלב 1: התחברות ל-GitHub (יפתח דפדפן)
echo.
"C:\Program Files\GitHub CLI\gh.exe" auth login --web --git-protocol https
if %errorlevel% neq 0 (
echo שגיאה בהתחברות. נסה שוב.
pause
exit /b 1
)
echo.
echo שלב 2: יצירת Repository...
"C:\Program Files\GitHub CLI\gh.exe" repo create yomi-widget --public --source . --push --description "Hebrew desktop widget for Windows - by David Patlas"
if %errorlevel% neq 0 (
echo שגיאה ביצירת ה-repo. אולי כבר קיים?
"C:\Program Files\GitHub CLI\gh.exe" remote add origin
)
echo.
echo שלב 3: יצירת Release v1.0.0 עם קובץ EXE...
"C:\Program Files\GitHub CLI\gh.exe" release create v1.0.0 "dist\YomiWidget.exe" "yomi_data.json" --title "YomiWidget v1.0.0 - First Release" --notes "גרסה ראשונה של YomiWidget — ויג'ט שולחן עבודה יהודי ליומיום עם תאריך עברי, זמני היום, פרשת שבוע, פרויקטים והערות. נוצר על ידי דוד פטלס."
echo.
echo ===================================
echo הושלם! הלינק שלך:
"C:\Program Files\GitHub CLI\gh.exe" repo view --web
echo ===================================
pause