Track VERSION, compare it with Gitea tags via git ls-remote (API fallback), expose GET /api/update and a Services card with the current version.
This commit is contained in:
1 parent
eb8a9bb57b
commit
f1149974aa
15 files changed
+390
-2
No files matched your search
@@ -477,6 +477,13 @@ try {
|
||||
<button id="jobRetry" class="ghost" type="button" hidden>повторить</button>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="service-card">
|
||||
<h2>Обновления</h2>
|
||||
<div class="dp-head">Версия <span id="updateCurrent">—</span></div>
|
||||
<div class="dp-note" id="updateNote">проверка тегов Gitea</div>
|
||||
<button id="checkUpdates" class="ghost" type="button">проверить</button>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in new issue
Block a user