From 528f1882c6100b866cc5cb1788b4552629d7d33a Mon Sep 17 00:00:00 2001 From: Simon Annetts Date: Thu, 6 Mar 2025 16:19:51 +0000 Subject: [PATCH 1/4] Update cloudscribe-develop.yml --- .github/workflows/cloudscribe-develop.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cloudscribe-develop.yml b/.github/workflows/cloudscribe-develop.yml index b812588..db33202 100644 --- a/.github/workflows/cloudscribe-develop.yml +++ b/.github/workflows/cloudscribe-develop.yml @@ -6,6 +6,7 @@ name: cloudscribe-simplecontactform-develop-nuget-build on: push: branches: [ "develop" ] + workflow_dispatch: # pull_request: # branches: [ "develop" ] @@ -30,3 +31,9 @@ jobs: run: dotnet pack -c Release - name: Publish NuGet package run: dotnet nuget push **/*.nupkg --source ${{ secrets.NUGET_SOURCE_URL }} + - name: Remote Repository Dispatch + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.GHB_PAT }} + repository: GreatHouseBarn/cloudscribe-testing + event-type: cs.SimpleContactForm From e3d41d9c6d9c6161f0aad4733c959a14b43601d3 Mon Sep 17 00:00:00 2001 From: Jim Kerslake <39943820+JimKerslake@users.noreply.github.com> Date: Mon, 31 Mar 2025 11:21:42 +0100 Subject: [PATCH 2/4] v8.1 - jk --- src/WebApp/WebApp.csproj | 12 ++++++------ ...udscribe.SimpleContactForm.CoreIntegration.csproj | 6 +++--- .../cloudscribe.SimpleContactForm.csproj | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/WebApp/WebApp.csproj b/src/WebApp/WebApp.csproj index 9bbac3c..5ff76a8 100644 --- a/src/WebApp/WebApp.csproj +++ b/src/WebApp/WebApp.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -24,11 +24,11 @@ - - - - - + + + + + diff --git a/src/cloudscribe.SimpleContactForm.CoreIntegration/cloudscribe.SimpleContactForm.CoreIntegration.csproj b/src/cloudscribe.SimpleContactForm.CoreIntegration/cloudscribe.SimpleContactForm.CoreIntegration.csproj index 48db9a2..c1b8e3a 100644 --- a/src/cloudscribe.SimpleContactForm.CoreIntegration/cloudscribe.SimpleContactForm.CoreIntegration.csproj +++ b/src/cloudscribe.SimpleContactForm.CoreIntegration/cloudscribe.SimpleContactForm.CoreIntegration.csproj @@ -1,8 +1,8 @@ - + Integration library for usingcloudscribe SimpleContactForm with cloudscribe.Core - 8.0.0 + 8.1.0 net8.0 Joe Audette cloudscribe;contact form @@ -23,7 +23,7 @@ - + diff --git a/src/cloudscribe.SimpleContactForm/cloudscribe.SimpleContactForm.csproj b/src/cloudscribe.SimpleContactForm/cloudscribe.SimpleContactForm.csproj index 311619e..ea8bbea 100644 --- a/src/cloudscribe.SimpleContactForm/cloudscribe.SimpleContactForm.csproj +++ b/src/cloudscribe.SimpleContactForm/cloudscribe.SimpleContactForm.csproj @@ -1,8 +1,8 @@ - + A simple contact form for ASP.NET Core - 8.0.0 + 8.1.0 net8.0 Joe Audette true @@ -36,8 +36,8 @@ - - + + From 7678b99065a9a9bb8889be6492a660ecd7180145 Mon Sep 17 00:00:00 2001 From: Jim Kerslake <39943820+JimKerslake@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:23:12 +0100 Subject: [PATCH 3/4] Update update_version.ps1 --- update_version.ps1 | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/update_version.ps1 b/update_version.ps1 index 644cf46..1e4919a 100644 --- a/update_version.ps1 +++ b/update_version.ps1 @@ -15,9 +15,11 @@ # Define the directory containing the .csproj files $directory = "src" -# Define the new version -$newVersion = "8.1.0" -$newWildcardVersion = "8.1.*" +# Define the old & new versions +$oldVersion = '8\.1' # slash needed ! +$newVersion = "8.2.0" +$newWildcardVersion = "8.2.*" + # Get all .csproj files in the directory and subdirectories $csprojFiles = Get-ChildItem -Path $directory -Recurse -Filter *.csproj @@ -27,11 +29,18 @@ foreach ($file in $csprojFiles) { $content = Get-Content -Path $file.FullName # Update the version of cloudscribe package references, except for cloudscribe.HtmlAgilityPack and cloudscribe.DbHelpers - $updatedContent = $content -replace '(?<=$newVersion" + $updatedContent = $updatedContent -replace $versionPattern, $replacement - # Update the element if it matches the 8.0.* pattern - $updatedContent = $updatedContent -replace '8\.0\.\d+', "$newVersion" # Write the updated content back to the .csproj file Set-Content -Path $file.FullName -Value $updatedContent From 22b4142fe8d29e59c8fb616b5a6104a4daeccceb Mon Sep 17 00:00:00 2001 From: Jim Kerslake <39943820+JimKerslake@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:24:25 +0100 Subject: [PATCH 4/4] Update WebApp.csproj --- src/WebApp/WebApp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebApp/WebApp.csproj b/src/WebApp/WebApp.csproj index 5ff76a8..57770a0 100644 --- a/src/WebApp/WebApp.csproj +++ b/src/WebApp/WebApp.csproj @@ -24,7 +24,7 @@ - +