File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
.github/actions/version-bump-and-publish/functions Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11function Get-NextVersion {
22 param (
3+ [Parameter (Mandatory = $true )]
4+ $ModuleName ,
35 [Parameter (Mandatory = $true )]
46 [ValidateSet (" stable" , " prerelease" )]
57 [string ]$Type
68 )
79
8- $latestGalleryStableVersion = Get-LatestGalleryVersion - Type " stable" - ModuleName " PwshSpectreConsole "
9- $latestGalleryPrereleaseVersion = Get-LatestGalleryVersion - Type " prerelease" - ModuleName " PwshSpectreConsole "
10- $localModuleVersion = Get-LocalModuleVersion - ModuleName " PwshSpectreConsole "
10+ $latestGalleryStableVersion = Get-LatestGalleryVersion - Type " stable" - ModuleName $ModuleName
11+ $latestGalleryPrereleaseVersion = Get-LatestGalleryVersion - Type " prerelease" - ModuleName $ModuleName
12+ $localModuleVersion = Get-LocalModuleVersion - ModuleName $ModuleName
1113
1214 if ($Type -eq " stable" ) {
1315 return Get-NextStableVersion `
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ pnpm-debug.log*
2121# macOS-specific files
2222.DS_Store
2323
24- # Exclude packages folder
25- PwshSpectreConsole /packages
26- PwshSpectreConsole.Tests /packages
27-
2824# Exclude working folder
2925Working /
3026
You can’t perform that action at this time.
0 commit comments