Update all URLs to Gitea (branch/main)

This commit is contained in:
2026-02-17 09:11:32 +03:00
parent e981daa6d2
commit 84f307739e
4 changed files with 20 additions and 41 deletions

View File

@@ -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

View File

@@ -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"]
}

View File

@@ -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");
/* Добавляйте нужные модули */
```

View File

@@ -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 для скрытия индикаторов */