mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-15 07:12:44 +02:00
Updated the Markdown manuals
This commit is contained in:
@ -72,22 +72,22 @@ param([string]$RepoDir = "$PWD")
|
||||
try {
|
||||
[system.threading.thread]::currentthread.currentculture = [system.globalization.cultureinfo]"en-US"
|
||||
|
||||
Write-Progress "⏳ (1/6) Searching for Git executable..."
|
||||
Write-Progress "(1/6) Searching for Git executable..."
|
||||
$null = (git --version)
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||
|
||||
Write-Progress "⏳ (2/6) Checking local repository..."
|
||||
Write-Progress "(2/6) Checking local repository..."
|
||||
if (!(Test-Path "$RepoDir" -pathType container)) { throw "Can't access folder: $RepoDir" }
|
||||
$RepoDirName = (Get-Item "$RepoDir").Name
|
||||
|
||||
Write-Progress "⏳ (3/6) Fetching the latest commits..."
|
||||
Write-Progress "(3/6) Fetching the latest commits..."
|
||||
& git -C "$RepoDir" fetch --all --force --quiet
|
||||
if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" }
|
||||
|
||||
Write-Progress "⏳ (4/6) Listing all Git commit messages..."
|
||||
Write-Progress "(4/6) Listing all Git commit messages..."
|
||||
$commits = (git -C "$RepoDir" log --boundary --pretty=oneline --pretty=format:%s | sort -u)
|
||||
|
||||
Write-Progress "⏳ (5/6) Sorting the Git commit messages..."
|
||||
Write-Progress "(5/6) Sorting the Git commit messages..."
|
||||
$new = @()
|
||||
$fixes = @()
|
||||
$updates = @()
|
||||
@ -110,7 +110,7 @@ try {
|
||||
$various += $commit
|
||||
}
|
||||
}
|
||||
Write-Progress "⏳ (6/6) Listing all contributors..."
|
||||
Write-Progress "(6/6) Listing all contributors..."
|
||||
$contributors = (git -C "$RepoDir" log --format='%aN' | sort -u)
|
||||
Write-Progress -completed " "
|
||||
|
||||
@ -155,4 +155,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 10/19/2023 08:11:44)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 12/07/2023 20:24:24)*
|
||||
|
Reference in New Issue
Block a user