← 返回命令列表

Linux command

glab-release 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List releases

glab release list

Create release

glab release create [tag]

Create with notes

glab release create [tag] -n "[notes]"

Create with assets

glab release create [tag] [file1] [file2]

View release

glab release view [tag]

Delete release

glab release delete [tag]

说明

glab release manages GitLab project releases from the command line. It provides subcommands for creating releases, uploading binary assets, writing release notes, and managing existing releases.

参数

-n, --notes _text_
Release notes.
-N, --notes-file _file_
Read notes from file.
--ref _ref_
Git ref for release.

FAQ

What is the glab-release command used for?

glab release manages GitLab project releases from the command line. It provides subcommands for creating releases, uploading binary assets, writing release notes, and managing existing releases.

How do I run a basic glab-release example?

Run `glab release list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -n, --notes _text_ do in glab-release?

Release notes.