fix(docs): update method for retrieving previous release tag in update checklist

This commit is contained in:
Divarion-D
2026-04-12 15:34:20 +03:00
parent 43ab9b5b4e
commit d368fd944d
2 changed files with 2 additions and 4 deletions

View File

@@ -128,8 +128,7 @@ cd dist && md5sum -c hashes.md5
**Generate commit log:**
```bash
PREV_TAG=$(curl -s https://api.github.com/repos/Vateron-Media/XC_VM/releases/latest \
| grep -Po '"tag_name":\s*"\K[^"]+')
PREV_TAG=$(git describe --tags --abbrev=0)
echo "Previous release: $PREV_TAG"
git log --pretty=format:"- %s (%h)" "$PREV_TAG"..main > dist/changes.md
```

View File

@@ -127,8 +127,7 @@ cd dist && md5sum -c hashes.md5
**Сгенерировать лог коммитов:**
```bash
PREV_TAG=$(curl -s https://api.github.com/repos/Vateron-Media/XC_VM/releases/latest \
| grep -Po '"tag_name":\s*"\K[^"]+')
PREV_TAG=$(git describe --tags --abbrev=0)
echo "Предыдущий релиз: $PREV_TAG"
git log --pretty=format:"- %s (%h)" "$PREV_TAG"..main > dist/changes.md
```