mirror of
https://github.com/cmderdev/cmder.git
synced 2025-12-15 10:18:53 +08:00
Update version change emojis: 🔥 major, 🚀 minor, ⬆️ patch
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com>
This commit is contained in:
8
.github/workflows/vendor.yml
vendored
8
.github/workflows/vendor.yml
vendored
@@ -86,14 +86,14 @@ jobs:
|
||||
|
||||
if ($newVer.Major -gt $oldVer.Major) {
|
||||
$changeType = "major"
|
||||
$emoji = "⚠️"
|
||||
$emoji = "🔥"
|
||||
$isMajor = $true
|
||||
} elseif ($newVer.Minor -gt $oldVer.Minor) {
|
||||
$changeType = "minor"
|
||||
$emoji = "✨"
|
||||
$emoji = "🚀"
|
||||
} else {
|
||||
$changeType = "patch"
|
||||
$emoji = "🐛"
|
||||
$emoji = "⬆️"
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
@@ -140,7 +140,7 @@ jobs:
|
||||
|
||||
# Generate major updates changelog section
|
||||
if ($majorUpdates.Count -gt 0) {
|
||||
$changelogSection = "`n<details>`n<summary>⚠️ Major version updates - View changelog</summary>`n`n"
|
||||
$changelogSection = "`n<details>`n<summary>🔥 Major version updates - View changelog</summary>`n`n"
|
||||
foreach ($update in $majorUpdates) {
|
||||
$changelogSection += "### [$($update.name)]($($update.repoUrl))`n"
|
||||
$changelogSection += "**$($update.oldVersion)** → **$($update.newVersion)**`n`n"
|
||||
|
||||
Reference in New Issue
Block a user