mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
chore: update changelog generation starting from v2.4.6-alpha.4
This commit is contained in:
parent
b0e92acd28
commit
84c6ca17b1
4 changed files with 4 additions and 1134 deletions
2
.github/workflows/schedule.yml
vendored
2
.github/workflows/schedule.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
id: git-cliff
|
id: git-cliff
|
||||||
with:
|
with:
|
||||||
config: cliff.toml
|
config: cliff.toml
|
||||||
args: v2.4.5-rc.2.. --verbose
|
args: v2.4.6-alpha.4.. --verbose
|
||||||
env:
|
env:
|
||||||
OUTPUT: CHANGELOG.md
|
OUTPUT: CHANGELOG.md
|
||||||
GITHUB_REPO: ${{ github.repository }}
|
GITHUB_REPO: ${{ github.repository }}
|
||||||
|
|
1131
HISTORY.md
1131
HISTORY.md
File diff suppressed because it is too large
Load diff
|
@ -39,7 +39,8 @@ $items = [
|
||||||
'crowdin.yml',
|
'crowdin.yml',
|
||||||
'HISTORY.md',
|
'HISTORY.md',
|
||||||
'README.md',
|
'README.md',
|
||||||
'SECURITY.md'
|
'SECURITY.md',
|
||||||
|
'UPGRADE_GUIDE.md'
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
|
|
|
@ -114,7 +114,7 @@ if ($bytesWritten === 0) {
|
||||||
out("\n- Config file has been updated!", 'success');
|
out("\n- Config file has been updated!", 'success');
|
||||||
|
|
||||||
// Update CHANGELOG.md
|
// Update CHANGELOG.md
|
||||||
runProcess('npx git-cliff v2.4.5-rc.2.. --config cliff.toml --tag "' . $version . '" > CHANGELOG.md');
|
runProcess('npx git-cliff v2.4.6-alpha.4.. --config cliff.toml --tag "' . $version . '" > CHANGELOG.md');
|
||||||
|
|
||||||
// Git add & commit
|
// Git add & commit
|
||||||
runProcess('git add -A && git commit -m "release: ' . escapeshellarg($version) . (!empty($versionEmoji) ? (' ' . $versionEmoji) : '') . '"');
|
runProcess('git add -A && git commit -m "release: ' . escapeshellarg($version) . (!empty($versionEmoji) ? (' ' . $versionEmoji) : '') . '"');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue