dev: bump to 0.1.91.0-dev pre-commit Hook synchronisiert Changelog-Version mit ZIP-Version

This commit is contained in:
2026-04-10 14:19:02 +02:00
parent 8e2bd08ed1
commit 03a4997132
4 changed files with 21 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
## 0.1.90.5-dev - 2026-04-10
- dev: bump to 0.1.90.0 Changelog und Release-Prozess fix
## 0.1.90.0-dev - 2026-04-10 ## 0.1.90.0-dev - 2026-04-10
- dev: bump to 0.1.89.5 Changelog aktualisiert - dev: bump to 0.1.89.5 Changelog aktualisiert

View File

@@ -1,3 +1,10 @@
## 0.1.91.0
**Allgemein**
- Changelog und Release-Prozess fix.
- Changelog aktualisiert.
## 0.1.90.0 ## 0.1.90.0
**TMDb Helper Integration** **TMDb Helper Integration**

View File

@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.90.5-dev" provider-name="ViewIt"> <addon id="plugin.video.viewit" name="ViewIt" version="0.1.91.0-dev" provider-name="ViewIt">
<requires> <requires>
<import addon="xbmc.python" version="3.0.0" /> <import addon="xbmc.python" version="3.0.0" />
<import addon="script.module.requests" /> <import addon="script.module.requests" />

View File

@@ -51,4 +51,13 @@ fi
sed -i "s/version=\"${current}\"/version=\"${new_version}\"/" addon/addon.xml sed -i "s/version=\"${current}\"/version=\"${new_version}\"/" addon/addon.xml
git add addon/addon.xml git add addon/addon.xml
# Changelog-Abschnitt von alter auf neue Version umbenennen (nur erstes Vorkommen)
old_clean=$(echo "$version_only")
new_clean=$(echo "$new_version" | sed 's/-[a-zA-Z].*$//')
CHANGELOG="addon/CHANGELOG-USER.md"
if [[ -f "$CHANGELOG" ]]; then
sed -i "0,/^## ${old_clean}$/s//## ${new_clean}/" "$CHANGELOG"
git add "$CHANGELOG"
fi
echo "[hook] Version: $current → $new_version" echo "[hook] Version: $current → $new_version"