Severity
No response
Version
Earliest tried was 2026.3.5562
Latest Version
I could reproduce the problem in the latest build
What happened?
When using the Go CLI to create a NuGet package via octopus package nuget create, the package is created with bit 3 set which is not supported by GitLab.
Relates to this closed Go issue.
Steps to reproduce:
- Create a source folder with at least one file (e.g. lib/sample.txt)
- Run
octopus package nuget create to build TestPackage.1.0.0.nupkg
- Push it to a GitLab Package Registry:
dotnet nuget push TestPackage.1.0.0.nupkg --source <gitlab-nuget-index-url> --api-key <token>
- Push returns 500 Internal Server Error
Reproduction
500 internal server error returned. The GitLab UI shows that the package was not uploaded.
Error and Stacktrace
More Information
No response
Workaround
The only known workaround is currently to repackage the nuget file. PowerShell:
$nupkg = "MyPackage.1.0.0.nupkg"
$extractDir = "temp_extract"
Expand-Archive -Path $nupkg -DestinationPath $extractDir -Force
Remove-Item $nupkg
Compress-Archive -Path "$extractDir\*" -DestinationPath $nupkg
Severity
No response
Version
Earliest tried was 2026.3.5562
Latest Version
I could reproduce the problem in the latest build
What happened?
When using the Go CLI to create a NuGet package via
octopus package nuget create, the package is created with bit 3 set which is not supported by GitLab.Relates to this closed Go issue.
Steps to reproduce:
octopus package nuget createto build TestPackage.1.0.0.nupkgdotnet nuget push TestPackage.1.0.0.nupkg --source <gitlab-nuget-index-url> --api-key <token>Reproduction
500 internal server error returned. The GitLab UI shows that the package was not uploaded.
Error and Stacktrace
More Information
No response
Workaround
The only known workaround is currently to repackage the nuget file. PowerShell: