mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-04-13 08:28:32 +00:00
fix(docs): update method for retrieving previous release tag in update checklist
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user