From 84f307739e52e50857a8b5acf7e3509d59ea16c9 Mon Sep 17 00:00:00 2001 From: Oleg Tolchin Date: Tue, 17 Feb 2026 09:11:32 +0300 Subject: [PATCH] Update all URLs to Gitea (branch/main) --- RELEASE.md | 35 +++++++---------------------------- manifest.json | 2 +- theme/modules/README.md | 22 +++++++++++----------- theme/tolfin.css | 2 +- 4 files changed, 20 insertions(+), 41 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 421a6ff..286af01 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,41 +1,24 @@ # Релизы Tolfin -## Текущая версия: v1.0.1 - -**Важно:** Ссылка `@latest` всегда указывает на **последний релиз**, а не на последний коммит. Все изменения оформляются как релизы. +## Текущая версия: v1.0.0 ## Как создать новый релиз ### 1. Внесите изменения -Сделайте все необходимые изменения в коде и отправьте их: +Сделайте все необходимые изменения в коде и отправьте их на Gitea: ```powershell git add . git commit -m "Описание изменений" -git push +git push origin main ``` -Это отправит изменения на GitHub и на Gitea одновременно. - ### 2. Создайте тег версии ```powershell git tag -a v1.0.1 -m "Release v1.0.1 - Описание изменений" git push origin v1.0.1 -git push gitea v1.0.1 ``` -### 3. Обновите тег latest -После создания релиза обновите тег `latest` чтобы он указывал на новый релиз: -```powershell -# Получите хеш нового релиза -git rev-list -n 1 v1.0.1 - -# Обновите тег latest (замените ХЕШ на полученный хеш) -git tag -f latest ХЕШ -git push origin latest --force -git push gitea latest --force -``` - -### 4. Создайте релиз на Gitea +### 3. Создайте релиз на Gitea 1. Зайдите на https://git.tolchin.pro/Oleg/Tolfin/releases 2. Нажмите "New Release" 3. Выберите созданный тег (например, v1.0.1) @@ -46,7 +29,7 @@ git push gitea latest --force ### Последняя версия (рекомендуется): ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/tolfin.css"); ``` ### Конкретная версия: @@ -56,13 +39,9 @@ git push gitea latest --force ## История релизов -### v1.0.1 (Текущая) -- Обновлена тема tolfin.css -- Исправлена система релизов -- Ссылка @latest теперь указывает на последний релиз - -### v1.0.0 +### v1.0.0 (Текущая) - Первая официальная версия - Полная тема с баннером - Все модули включены - Удалена поддержка логотипов (только баннер) +- Перенос на Gitea diff --git a/manifest.json b/manifest.json index 21a7dc3..5bec449 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "version": "1.0.0", "author": "Oleg", "repository": "https://git.tolchin.pro/Oleg/Tolfin", - "url": "https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css", + "url": "https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/tolfin.css", "target": "jellyfin", "categories": ["theme", "css"] } diff --git a/theme/modules/README.md b/theme/modules/README.md index 1397884..95383d2 100644 --- a/theme/modules/README.md +++ b/theme/modules/README.md @@ -9,7 +9,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/static-sidebar.css"); ``` --- @@ -19,7 +19,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/central-libraries-small.css"); ``` --- @@ -29,7 +29,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/count-indicators.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/count-indicators.css"); ``` --- @@ -39,7 +39,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/forgot-password.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/forgot-password.css"); ``` --- @@ -49,7 +49,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/hide-my-media.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/hide-my-media.css"); ``` --- @@ -59,7 +59,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/moving-cards.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/moving-cards.css"); ``` --- @@ -69,7 +69,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/smaller-cast.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/smaller-cast.css"); ``` --- @@ -79,7 +79,7 @@ **Использование:** ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/floating-progress.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/floating-progress.css"); ``` --- @@ -88,12 +88,12 @@ ### Полная тема (все модули): ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/tolfin.css"); ``` ### Индивидуальные модули: ```css -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css"); -@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/static-sidebar.css"); +@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/modules/central-libraries-small.css"); /* Добавляйте нужные модули */ ``` diff --git a/theme/tolfin.css b/theme/tolfin.css index f084efa..4c047ed 100644 --- a/theme/tolfin.css +++ b/theme/tolfin.css @@ -31,7 +31,7 @@ --theme-blur: 16px; /* Сила размытия фона */ /* URL изображений */ - --banner-url: url('https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/assets/banner.png'); + --banner-url: url('https://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/assets/banner.png'); /* Переменные модулей */ --show-count-indicators: flex; /* none для скрытия индикаторов */