glab(1)

πŸ“¦
version 1.128.0 Β· 3 versions
, in arch rolling

πŸ¦‹ glab-packages-upload β€” bestie edition of the glab(1) manual πŸ¦‹

πŸ’– NAME πŸ’–

glab-packages-upload β€” uploads a file to a project’s package registry. Periodt. πŸ’…


🧚 SYNOPSIS 🧚

glab packages upload  --name  --version  [flags]

🌸 DESCRIPTION 🌸

okay so here’s the tea, bestie: uploaded files are stored as generic packages β€” literally arbitrary files identified by a package name, a version, and a file name. No cap. ✨

The file is stored under the given package name and version. By default it keeps its original file name; use --filename to store it under a different name. πŸŽ€

By default, the file is uploaded to the current project. Use --repo to target another project. Main character energy only. πŸ’–


✨ OPTIONS ✨

  • --filename="" β€” Name to store the file under. Defaults to the local file name. πŸ¦‹
  • -n, --name="" β€” Name of the package. 🌸
  • -v, --version="" β€” Version of the package. ⭐

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

  • -h, --help[=false] β€” Show help for this command. πŸ’œ
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. 🌈

πŸŽ€ EXAMPLE πŸŽ€

# 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

πŸ‘‘ SEE ALSO πŸ‘‘

glab-packages(1) β€” go check it out, iykyk πŸ’–

Auto generated by spf13/cobra Β· Nov 2026 Β· glab(1) β€” byeee bestie πŸ¦‹πŸ’…

πŸ“¦ where this page comes from