docs: refresh glab v1.104.0 packages skill

Refresh GitLab CLI skills for glab v1.104.0 package upload coverage.
This commit is contained in:
Vince Lozada
2026-06-23 09:33:46 -05:00
committed by GitHub
parent c7fcd0e56e
commit 8cc307c848
4 changed files with 55 additions and 6 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
1.13.12 1.13.13
Release/version change metadata for this skill set lives here, not in individual skill files. Release/version change metadata for this skill set lives here, not in individual skill files.
Historical notes consolidated from skill docs: Historical notes consolidated from skill docs:
- v1.13.13
- glab v1.104.0 refresh: updated `glab-packages` for the new `glab packages upload` / `ul` command, including required `--name` and `--version`, optional `--filename`, and `-R/--repo` targeting.
- v1.13.12 - v1.13.12
- Packaging/distribution fix: moved the top-level orchestrator skill into `gitlab-cli-skills/SKILL.md` so `npx skills add` discovers the orchestrator plus all standalone `glab-*` sub-skills instead of stopping at a root `SKILL.md`. - Packaging/distribution fix: moved the top-level orchestrator skill into `gitlab-cli-skills/SKILL.md` so `npx skills add` discovers the orchestrator plus all standalone `glab-*` sub-skills instead of stopping at a root `SKILL.md`.
- Added relative links from the orchestrator to each sub-skill and bundled referenced helper scripts inside their consuming skill directories so selective installs keep documented `scripts/...` workflows usable. - Added relative links from the orchestrator to each sub-skill and bundled referenced helper scripts inside their consuming skill directories so selective installs keep documented `scripts/...` workflows usable.
+1 -1
View File
@@ -109,7 +109,7 @@ standalone skill in a sibling directory; open its `SKILL.md` for full details.
- [`glab-iteration`](../glab-iteration/SKILL.md) - Sprint/iteration management - [`glab-iteration`](../glab-iteration/SKILL.md) - Sprint/iteration management
- [`glab-label`](../glab-label/SKILL.md) - Label management and organization - [`glab-label`](../glab-label/SKILL.md) - Label management and organization
- [`glab-release`](../glab-release/SKILL.md) - Software releases and versioning - [`glab-release`](../glab-release/SKILL.md) - Software releases and versioning
- [`glab-packages`](../glab-packages/SKILL.md) - Project package registry listing and filtering - [`glab-packages`](../glab-packages/SKILL.md) - Project package registry listing, filtering, and generic package uploads
**Authentication & Config:** **Authentication & Config:**
- [`glab-auth`](../glab-auth/SKILL.md) - Login, logout, Docker registry auth - [`glab-auth`](../glab-auth/SKILL.md) - Login, logout, Docker registry auth
+21 -3
View File
@@ -1,13 +1,13 @@
--- ---
name: glab-packages name: glab-packages
description: List GitLab project package registry packages with glab. Use when inspecting packages, filtering GitLab package registry entries by package name/type, paginating package registry results, or using glab packages commands. Triggers on GitLab packages, package registry, glab packages, npm packages in GitLab, Maven packages in GitLab. description: List and upload GitLab project package registry packages with glab. Use when inspecting packages, filtering GitLab package registry entries by package name/type, paginating package registry results, uploading generic package files, or using glab packages commands. Triggers on GitLab packages, package registry, glab packages, npm packages in GitLab, Maven packages in GitLab, generic package upload.
--- ---
# glab packages # glab packages
List packages in a GitLab project's package registry. List packages in a GitLab project's package registry and upload files as generic packages.
> Added in glab v1.103.0. The initial command group provides `list` / `ls` for project package registries. > Added in glab v1.103.0. `glab packages list` / `ls` lists project package registries. glab v1.104.0 added `glab packages upload` / `ul` for generic package uploads.
## Quick start ## Quick start
@@ -20,6 +20,9 @@ glab packages ls
# List packages from another project # List packages from another project
glab packages list -R owner/repo glab packages list -R owner/repo
# Upload a file as a generic package version
glab packages upload ./build/app.zip --name my-package --version 1.0.0
``` ```
## Filtering ## Filtering
@@ -52,6 +55,21 @@ glab packages list --jq '.[].name'
Use `-R/--repo` when running outside the target project's Git checkout. Prefer structured output/`--jq` for scripts rather than parsing text tables. Use `-R/--repo` when running outside the target project's Git checkout. Prefer structured output/`--jq` for scripts rather than parsing text tables.
## Upload generic package files
```bash
# Upload a local file under its original filename
glab packages upload ./build/app.zip --name my-package --version 1.0.0
# Store the uploaded file under a different package filename
glab packages upload ./build/app.zip --name my-package --version 1.0.0 --filename release.zip
# Alias and explicit target project
glab packages ul ./build/app.zip -n my-package --version 1.0.0 -R owner/repo
```
Upload stores the file as a **generic** package in the target project's package registry. `--name` and `--version` are required; `--filename` defaults to the local file basename. Use `-R/--repo` for uploads outside the target project checkout.
## Reference ## Reference
See [references/commands.md](references/commands.md) for command synopsis and flags. See [references/commands.md](references/commands.md) for command synopsis and flags.
+30 -1
View File
@@ -1,6 +1,6 @@
# glab packages help # glab packages help
> Command reference captured from upstream glab v1.103.0 generated documentation. > Command reference captured from upstream glab v1.104.0 generated documentation.
## packages list ## packages list
@@ -38,3 +38,32 @@ glab packages list --page 2 --per-page 10
# List packages from another project # List packages from another project
glab packages list -R owner/repo glab packages list -R owner/repo
``` ```
## packages upload
```text
Upload a file to a project's package registry.
glab packages upload <file> --name <package> --version <version> [flags]
Aliases: ul
Options:
--filename string Name to store the file under. Defaults to the local file name.
-n, --name string Name of the package.
-v, --version string Version of the package.
-R, --repo string Select another repository.
```
Examples:
```bash
# 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
```