mirror of
https://github.com/therealaleph/MasterHttpRelayVPN-RUST.git
synced 2026-05-19 08:04:39 +03:00
ci: auto-post CI-built Android APK to Telegram on every release tag
New `telegram:` job in release.yml downloads the Android artifact uploaded by the `android:` job, posts the APK with a short caption (Telegram caps captions at 1024 chars, we blow past that), then replies with the full changelog in two quote blocks — Persian first, English second — matching the format the user wants. Changelog content lives in `docs/changelog/v<tag>.md`. The file has a comment header explaining the format, then: - Persian bullets - a bare `---` separator line - English bullets The workflow splits on that separator. No emojis. Missing changelog file = the reply is skipped (doc post still lands). Telegram credentials come from repo secrets: TELEGRAM_BOT_TOKEN (set) TELEGRAM_CHAT_ID (set) Missing either = job logs a notice and returns 0. A forker who hasn't set up Telegram gets a clean release with no notify attempt. Also includes v1.1.0's changelog file so the first run of this job has something to post.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<!--
|
||||
Telegram changelog posted automatically by .github/workflows/release.yml
|
||||
on every tag push. Format:
|
||||
- Persian changelog first (goes in an HTML <blockquote>)
|
||||
- A separator line of just `---`
|
||||
- English changelog second (also in a <blockquote>)
|
||||
- Leave ASCII `-`, digits, and "issue #NN" refs as-is
|
||||
|
||||
The workflow splits on the `---` separator. Bullets can be whatever
|
||||
you like; the bot forwards verbatim.
|
||||
-->
|
||||
• دکمهٔ یکپارچهٔ اتصال/قطع (سبز هنگام آفلاین، قرمز هنگام آنلاین)
|
||||
• انتخاب حالت اتصال: VPN (TUN) یا فقط پروکسی (issue #37)
|
||||
• تقسیم برنامهها: همه / فقط انتخابشدهها / همه بهجز انتخابشدهها
|
||||
• تغییر زبان فارسی/انگلیسی با چینش RTL/LTR
|
||||
• کارت «راهنمای استفاده» قابل جمعشدن
|
||||
• بررسی خودکار بهروزرسانی هنگام اجرا
|
||||
• اصلاح ریستشدن بخش Advanced در نسخهٔ دسکتاپ
|
||||
• پشتیبانی wgpu برای ویندوزهایی که OpenGL 2.0 ندارند (issue #28)
|
||||
• هدف جدید ساخت OpenWRT mipsel-softfloat برای روترهای MT7621 (issue #26)
|
||||
---
|
||||
• Unified Connect/Disconnect button (green when idle, red when connected)
|
||||
• Connection mode picker: VPN (TUN) or Proxy-only (issue #37)
|
||||
• App splitting: All / Only selected / All except selected
|
||||
• Persian/English UI toggle with proper RTL/LTR switching
|
||||
• Collapsible "How to use" card
|
||||
• Auto-check for updates on launch
|
||||
• Desktop fix: Advanced section no longer resets after reopen
|
||||
• wgpu fallback for Windows boxes without OpenGL 2.0 (issue #28)
|
||||
• New OpenWRT mipsel-softfloat build target for MT7621 routers (issue #26)
|
||||
Reference in New Issue
Block a user