v1.1.8 - 교육 근무 변경 시 상단 알람 표시 및 실제 알람 완전 유지

This commit is contained in:
sanjeok77
2026-08-17 16:52:40 +09:00
parent 8888150c84
commit d2f2e05d4c
6 changed files with 42 additions and 19 deletions
+12 -10
View File
@@ -6,14 +6,16 @@ import shutil
token = "e3b515eaa0a6683c921ca3bf718e281ed30a6075"
owner_repo = "sanjeok77/ShiftRing"
tag = "v1.1.7"
title = "v1.1.7 - 교육 근무 변경 시 원래 근무 알람 울림 보장"
body = """## 🚀 ShiftRing v1.1.7 릴리즈
tag = "v1.1.8"
title = "v1.1.8 - 교육 근무 변경 시 상단 알람 표시 및 실제 알람 완전 유지"
body = """## 🚀 ShiftRing v1.1.8 릴리즈
### 🐛 버그 수정
1. **⏰ 교육 근무 변경 시 원래 근무 알람 울림 보장 (`AlarmUtils.kt`, `AlarmSyncManager.kt`)**:
- 달력에서 근무를 '교육'으로 변경해도 원래 근무(주간/석간/야간 등)의 알람이 정상적으로 울리도록 개선
- `syncAllAlarms`, `addAlarm`, `updateAlarm`, `syncAllAlarmsWithCheck` 4곳 모두 일관되게 적용"""
1. **⏰ 교육 근무 변경 시 알람 완전 유지 (`MainActivity.kt`, `AlarmUtils.kt`, `AlarmSyncManager.kt`)**:
- 달력에서 교육으로 변경해도 상단 오늘/내일 알람 시간이 정상 표시
- 원래 근무(주간/석간/야간 등) 알람이 그대로 울림
- 토스트 메시지: "교육으로 기록되었습니다. 원래 근무 알람이 유지됩니다."
- 교육을 월차/연차 등과 분리하여 독립 처리"""
apk_path = "app/build/outputs/apk/release/app-release.apk"
if not os.path.exists(apk_path):
@@ -47,10 +49,10 @@ shutil.copy2(apk_path, "app.apk")
print("Updated app.apk at project root.")
v_info = {
"versionCode": 117,
"versionName": "1.1.7",
"versionCode": 118,
"versionName": "1.1.8",
"apkUrl": direct_url,
"changelog": "v1.1.7: 교육 근무 변경 시 원래 근무 알람 울림 보장",
"changelog": "v1.1.8: 교육 근무 변경 시 상단 알람 표시 및 실제 알람 완전 유지",
"forceUpdate": False
}
with open("version.json", "w", encoding="utf-8") as f:
@@ -61,7 +63,7 @@ print(f"Updated version.json with apkUrl: {direct_url}")
git_path = r"C:\Users\work\AppData\Roaming\MobaXterm\slash\mx86_64b\bin"
os.environ["PATH"] = git_path + os.pathsep + os.environ.get("PATH", "")
commit_msg = "v1.1.7 - 교육 근무 변경 시 원래 근무 알람 울림 보장"
commit_msg = "v1.1.8 - 교육 근무 변경 시 상단 알람 표시 및 실제 알람 완전 유지"
subprocess.run(["git", "add", "."], check=True)
subprocess.run(["git", "commit", "-m", commit_msg], check=True)
subprocess.run(["git", "push", "origin", "main"], check=True)