Skip to content

Commit

Permalink
Merge pull request #583 from Badgerati/bump_pode_ver
Browse files Browse the repository at this point in the history
Bump Pode from v2.10.0 to v2.10.1
  • Loading branch information
Badgerati authored Jun 15, 2024
2 parents 21499bd + c9ff3f9 commit 0370b89
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 15 deletions.
15 changes: 12 additions & 3 deletions .build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ task ReleaseNotes {

foreach ($pr in $prs) {
$label = ($pr.labels[0].name -split ' ')[0]
if ($label -iin @('new-release', 'internal-code')) {
if ($label -ieq 'new-release') {
continue
}

Expand Down Expand Up @@ -515,7 +515,12 @@ task ReleaseNotes {
$str += " (thanks @$($author)!)"
}

$categories[$label] += $str
if ($str -imatch '\s+(docs|documentation)\s+') {
$categories['Documentation'] += $str
}
else {
$categories[$label] += $str
}
}
}

Expand All @@ -527,7 +532,7 @@ task ReleaseNotes {
}

foreach ($dep in $dependabot.Values) {
$categories[$label] += "* #$($dep.Number) Bump $($dep.Name) from $($dep.From) to $($dep.To)"
$categories[$label] += "* #$($dep.Number): Bump $($dep.Name) from $($dep.From) to $($dep.To)"
}
}

Expand All @@ -536,6 +541,10 @@ task ReleaseNotes {

$culture = (Get-Culture).TextInfo
foreach ($category in $categories.Keys) {
if ($categories[$category].Length -eq 0) {
continue
}

Write-Host "### $($culture.ToTitleCase($category))"
$categories[$category] | Sort-Object | ForEach-Object { Write-Host $_ }
Write-Host ''
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM badgerati/pode:2.10.0
FROM badgerati/pode:2.10.1
LABEL maintainer="Matthew Kelly (Badgerati)"
RUN mkdir -p /usr/local/share/powershell/Modules/Pode.Web
COPY ./src/ /usr/local/share/powershell/Modules/Pode.Web
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- omit in toc -->
# <img src="https://github.com/Badgerati/Pode/blob/develop/images/icon.png?raw=true" width="25" /> Pode.Web

> This is the develop branch for Pode.Web v1.0.0, which is currently dependant on Pode v2.10.0. If you want the latest released Pode.Web code (v0.8.3), please view the master branch instead.
> This is the develop branch for Pode.Web v1.0.0, which is currently dependant on Pode v2.10.1. If you want the latest released Pode.Web code (v0.8.3), please view the master branch instead.
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Badgerati/Pode.Web/master/LICENSE.txt)
[![Documentation](https://img.shields.io/github/v/release/badgerati/pode.web?label=docs)](https://badgerati.github.io/Pode.Web)
Expand All @@ -25,7 +25,7 @@
- [🔥 Quick Example](#-quick-example)
- [🌎 Roadmap](#-roadmap)

This is a web template framework for use with the [Pode](https://github.com/Badgerati/Pode) PowerShell web server (v2.10.0+).
This is a web template framework for use with the [Pode](https://github.com/Badgerati/Pode) PowerShell web server (v2.10.1+).

It allows you to build web pages purely with PowerShell - no HTML, CSS, or JavaScript knowledge is required!

Expand Down
2 changes: 1 addition & 1 deletion alpine.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM badgerati/pode:2.10.0-alpine
FROM badgerati/pode:2.10.1-alpine
LABEL maintainer="Matthew Kelly (Badgerati)"
RUN mkdir -p /usr/local/share/powershell/Modules/Pode.Web
COPY ./src/ /usr/local/share/powershell/Modules/Pode.Web
2 changes: 1 addition & 1 deletion arm32.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM badgerati/pode:2.10.0-arm32
FROM badgerati/pode:2.10.1-arm32
LABEL maintainer="Matthew Kelly (Badgerati)"
RUN mkdir -p /usr/local/share/powershell/Modules/Pode.Web
COPY ./src/ /usr/local/share/powershell/Modules/Pode.Web
4 changes: 2 additions & 2 deletions docs/Getting-Started/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pode.Web is a PowerShell module that works along side [Pode](https://github.com/

Before installing Pode.Web, the minimum requirements must be met:

* [Pode](https://github.com/Badgerati/Pode) v2.10.0+
* [Pode](https://github.com/Badgerati/Pode) v2.10.1+

Which also includes Pode's minimum requirements:
* OS:
Expand Down Expand Up @@ -34,7 +34,7 @@ Install-Module -Name Pode.Web
[![Docker](https://img.shields.io/docker/stars/badgerati/pode.web.svg?label=Stars)](https://hub.docker.com/r/badgerati/pode.web/)
[![Docker](https://img.shields.io/docker/pulls/badgerati/pode.web.svg?label=Pulls)](https://hub.docker.com/r/badgerati/pode.web/)

Like Pode, Pode.Web also has Docker images available. The images use Pode v2.10.0 on either an Ubuntu Focal image (default), an Alpine image, or an ARM32 image (for Raspberry Pis).
Like Pode, Pode.Web also has Docker images available. The images use Pode v2.10.1 on either an Ubuntu Focal image (default), an Alpine image, or an ARM32 image (for Raspberry Pis).

* To pull down the latest Pode.Web image you can do:

Expand Down
4 changes: 2 additions & 2 deletions docs/Hosting/Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pode.Web has a Docker image that you can use to host your server, for instructions on pulling these images you can [look here](../../Getting-Started/Installation).

The images use Pode v2.10.0 on either an Ubuntu Focal (default), Alpine, or ARM32 image.
The images use Pode v2.10.1 on either an Ubuntu Focal (default), Alpine, or ARM32 image.

## Images

Expand All @@ -11,7 +11,7 @@ The images use Pode v2.10.0 on either an Ubuntu Focal (default), Alpine, or ARM3

### Default

The default Pode.Web image is an Ubuntu Focal image with Pode v2.10.0 and Pode.Web installed. An example of using this image in your Dockerfile could be as follows:
The default Pode.Web image is an Ubuntu Focal image with Pode v2.10.1 and Pode.Web installed. An example of using this image in your Dockerfile could be as follows:

```dockerfile
# pull down the pode image
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

> 💝 A lot of my free time, evenings, and weekends goes into making Pode happen; please do consider sponsoring as it will really help! 😊
This is a web template framework for use with the [Pode](https://github.com/Badgerati/Pode) PowerShell web server (v2.10.0+).
This is a web template framework for use with the [Pode](https://github.com/Badgerati/Pode) PowerShell web server (v2.10.1+).

It allows you to build web pages purely with PowerShell - no HTML, CSS, or JavaScript knowledge is required!

Expand Down
2 changes: 1 addition & 1 deletion src/Pode.Web.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
RequiredModules = @(
@{
ModuleName = 'Pode'
ModuleVersion = '2.10.0'
ModuleVersion = '2.10.1'
Guid = 'e3ea217c-fc3d-406b-95d5-4304ab06c6af'
}
)
Expand Down
2 changes: 1 addition & 1 deletion src/Public/Pages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ function ConvertTo-PodeWebPage {
throw 'No commands supplied to convert to Pages'
}

$sysParams = [System.Management.Automation.PSCmdlet]::CommonParameters.GetEnumerator() | Foreach-Object {$_}
$sysParams = [System.Management.Automation.PSCmdlet]::CommonParameters.GetEnumerator() | Foreach-Object { $_ }

# create the pages for each of the commands
foreach ($cmd in $Commands) {
Expand Down

0 comments on commit 0370b89

Please sign in to comment.