.nh .TH "glab" "1" "Jun 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-packages-upload - Upload a file to a project's package registry. .SH SYNOPSIS \fBglab packages upload --name --version [flags]\fP .SH DESCRIPTION Upload a local file to a project's package registry as a generic package. .PP The file is stored under the given package name and version. By default it keeps its original file name; use \fB--filename\fR to store it under a different name. .PP By default, the file is uploaded to the current project. Use \fB--repo\fR to target another project. .SH OPTIONS \fB--filename\fP="" Name to store the file under. Defaults to the local file name. .PP \fB-n\fP, \fB--name\fP="" Name of the package. .PP \fB-v\fP, \fB--version\fP="" Version of the package. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # Upload a file as version 1.0.0 of package 'my-package' glab packages upload ./build/app.zip --name my-package --version 1.0.0 # Store the file under a different name glab packages upload ./build/app.zip --name my-package --version 1.0.0 --filename release.zip # Use the 'ul' alias and upload to another project glab packages ul ./build/app.zip -n my-package --version 1.0.0 -R owner/repo .EE .SH SEE ALSO \fBglab-packages(1)\fP