Skip to content

Commit 8a806af

Browse files
committed
(maint) Remove Chocolatey package from this repository
Going to move the Chocolatey package for NexuShell over to my Chocolatey packages repository and allow the GHA there to maintain the package.
1 parent a6e0647 commit 8a806af

File tree

8 files changed

+0
-174
lines changed

8 files changed

+0
-174
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: windows-latest
1717
env:
1818
NugetApiKey: ${{ secrets.NugetApiKey }}
19-
ChocoApiKey: ${{ secrets.ChocoApiKey }}
2019

2120
steps:
2221
- uses: actions/checkout@v4
@@ -62,7 +61,6 @@ jobs:
6261
tag_name: ${{ steps.gitversion.outputs.MajorMinorPatch }}
6362
body: |
6463
PowerShellGallery: [NexuShell ](https://www.powershellgallery.com/packages/NexuShell/${{ steps.gitversion.outputs.MajorMinorPatch }})
65-
Chocolatey Community Repository: [NexuShell ](https://community.chocolatey.org/packages/NexuShell/${{ steps.gitversion.outputs.MajorMinorPatch }})
6664
draft: false
6765
prerelease: ${{ github.ref != 'refs/heads/main' }}
6866

build.ps1

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ param(
1616
[Switch]
1717
$DeployToGallery,
1818

19-
[Parameter()]
20-
[Switch]
21-
$Choco,
22-
2319
[Parameter()]
2420
[string]
2521
$SemVer = $(
@@ -86,26 +82,5 @@ process {
8682
$DeployToGallery {
8783
Publish-Module -Path "$root\Output\NexuShell" -NuGetApiKey $env:NugetApiKey
8884
}
89-
90-
$Choco {
91-
$PackageSource = Join-Path $root "src\nuget"
92-
93-
$Nuspec = Get-ChildItem $PackageSource -recurse -filter *.nuspec
94-
95-
Copy-Item -Path $root\LICENSE -Destination $PackageSource
96-
Compress-Archive -Path $root\Output\* -DestinationPath $PackageSource\tools\NexuShell.zip -Force #Added force to allow local testing without shenanigans
97-
98-
if (Test-Path "$PackageSource\tools\NexuShell.zip") {
99-
choco pack $Nuspec.FullName --version $SemVer --output-directory $root
100-
} else {
101-
throw "Welp, ya need the zip in the tools folder, dumby"
102-
}
103-
104-
if ($env:ChocoApiKey) {
105-
Get-ChildItem $PackageSource -Recurse -Filter *.nupkg | ForEach-Object {
106-
choco push $_.FullName -s https://push.chocolatey.org --api-key="'$($env:ChocoApiKey)'"
107-
}
108-
}
109-
}
11085
}
11186
}

src/nuget/NexuShell.nuspec

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/nuget/Verification.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/nuget/tools/.skipAutoUninstaller

Whitespace-only changes.

src/nuget/tools/chocolateyBeforeModify.ps1

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/nuget/tools/chocolateyInstall.ps1

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/nuget/tools/chocolateyUninstall.ps1

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)