Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PSFramework.NuGet/PSFramework.NuGet.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RootModule = 'PSFramework.NuGet.psm1'

# Version number of this module.
ModuleVersion = '0.9.11'
ModuleVersion = '0.9.12'

# ID used to uniquely identify this module
GUID = 'ad0f2a25-552f-4dd6-bd8e-5ddced2a5d88'
Expand Down
4 changes: 4 additions & 0 deletions PSFramework.NuGet/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.12 (2025-05-06)

+ Fix: Install-PSFModule - fails to install on a default Windows PowerShell console without any modifications.

## 0.9.11 (2025-05-05)

+ New: Bootstrap script to deploy PSFramework.NuGet to the local computer without requiring Package Management.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@

$tempDirectory = New-PSFTempDirectory -Name StagingSub -ModuleName PSFramework.NuGet
$param = $Item.v2Param
$actualParam = $param + $callSpecifics | ConvertTo-PSFHashtable -ReferenceCommand Save-Module

# 1) Save to temp folder
try { Save-Module @param -Path $tempDirectory @callSpecifics }
try { Save-Module @actualParam -Path $tempDirectory }
catch {
Write-PSFMessage -String 'Save-StagingModule.SavingV2.Error.Download' -StringValues $Item.Name, $Item.Version, $Repository.Name, $Repository.Type -Target $Item -Tag fail, save -ErrorRecord $_
$result.Error = $_
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ To install this module, run ...
Install-Module PSFramework.NuGet -Scope CurrentUser
```

Of course, problem here is that if you want to use this module, this very line might be failing already!
So, here is a way to bootstrap your current console without requiring PowerShellGet to already function:

```powershell
iwr https://raw.githubusercontent.com/PowershellFrameworkCollective/PSFramework.NuGet/refs/heads/master/bootstrap.ps1 | iex
```

## Features

### Module Installation (Local or Remote)
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Installs all that is needed to run PSFramework.NuGet without using the PowerShellGet tools.

Expand Down
Loading