Skip to content

Releases: jdarcyryan/PSModuleTemplate

0.3.1

12 Apr 20:49
b174f64

Choose a tag to compare

Installation

Create a token with read:packages scope

  1. Generate a new personal access token
  2. Select read:packages scope, specify a name and expiration, then click 'Generate token'
  3. Save a copy of the token securely

Prerequisites

If you are using PowerShell 7 or later, Microsoft.PowerShell.PSResourceGet is included.
Please use the below command if you are using an earlier version of PowerShell -

Install-Module -Name 'Microsoft.PowerShell.PSResourceGet'

From GitHub Packages

# Register GitHub Packages source (one-time setup)
Register-PSResourceRepository -Name 'GitHub' -Uri 'https://nuget.pkg.github.com/jdarcyryan/index.json'

# Prepare token
$githubUsername = 'GITHUB_USERNAME'
$githubToken = 'GITHUB_TOKEN'

$githubCredential = [pscredential]::new(
    $githubUsername,
    (ConvertTo-SecureString $githubToken -AsPlainText -Force)
)

# Install the module
Install-PSResource -Name 'PSModuleTemplate' -Repository GitHub -Version 0.3.1 -Credential $githubCredential

Documentation

Snapshot: PSModuleTemplate/0.3.1


This release was automatically generated by GitHub Actions


What's Changed

Full Changelog: 0.3.0...0.3.1

0.3.0

12 Apr 20:43
4cb9bbc

Choose a tag to compare

Installation

Create a token with read:packages scope

  1. Generate a new personal access token
  2. Select read:packages scope, specify a name and expiration, then click 'Generate token'
  3. Save a copy of the token securely

Prerequisites

If you are using PowerShell 7 or later, Microsoft.PowerShell.PSResourceGet is included.
Please use the below command if you are using an earlier version of PowerShell -

Install-Module -Name 'Microsoft.PowerShell.PSResourceGet'

From GitHub Packages

# Register GitHub Packages source (one-time setup)
Register-PSResourceRepository -Name 'GitHub' -Uri 'https://nuget.pkg.github.com/jdarcyryan/index.json'

# Prepare token
$githubUsername = 'GITHUB_USERNAME'
$githubToken = 'GITHUB_TOKEN'

$githubCredential = [pscredential]::new(
    $githubUsername,
    (ConvertTo-SecureString $githubToken -AsPlainText -Force)
)

# Install the module
Install-PSResource -Name 'PSModuleTemplate' -Repository GitHub -Version 0.3.0 -Credential $githubCredential

Documentation

Snapshot: PSModuleTemplate/0.3.0


This release was automatically generated by GitHub Actions


What's Changed

Full Changelog: https://github.com/jdarcyryan/PSModuleTemplate/commits/0.3.0