mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-02 19:09:13 +01:00
Update list-repos.ps1
This commit is contained in:
parent
488ccce2ab
commit
61c8bd0c7c
@ -10,7 +10,7 @@
|
||||
|
||||
Repository Latest Tag Branch Updates Status
|
||||
---------- ---------- ------ ------- ------
|
||||
📂cmake v3.23.0 🌵main ↓0 ✔️clean
|
||||
📂cmake v3.23.0 main ↓0 ✔️clean
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -35,7 +35,7 @@ function ListRepos {
|
||||
$Status = (git -C "$Folder" status --short)
|
||||
if ("$Status" -eq "") { $Status = "✔️clean" }
|
||||
elseif ("$Status" -like " M *") { $Status = "⚠️modified" }
|
||||
New-Object PSObject -property @{'Repository'="📂$Repository";'Latest Tag'="$LatestTag";'Branch'="🌵$Branch";'Updates'="↓$NumCommits";'Status'="$Status";}
|
||||
New-Object PSObject -property @{'Repository'="📂$Repository";'Latest Tag'="$LatestTag";'Branch'="$Branch";'Updates'="↓$NumCommits";'Status'="$Status";}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user