glab(1) glab(1) (NAME) glab-release-create - . (SYNOPSIS) glab release create [...] [flags] (DESCRIPTION) . Developer . . Git (annotated): 1. Git (push). 2. . 3. Git . --ref . ref SHA . 4. . git fetch --tags origin . CI/CD: o : CI_JOB_TOKEN CI GLAB_ENABLE_CI_AUTOLOGIN=true . glab CI_JOB_TOKEN JOB-TOKEN API . o : GITLAB_TOKEN api . o GITLAB_TOKEN=$CI_JOB_TOKEN API 404 Not Found . GITLAB_TOKEN PRIVATE-TOKEN API . --publish-to-catalog : . : https://docs.gitlab.com/policy/development_stages_support (OPTIONS) -a, --assets-links="" JSON (assets). . -m, --milestone=[] . . -n, --name="" . --no-close-milestone[=false] . --no-update[=false] . -N, --notes="" . Markdown . -F, --notes-file="" '' . stdin '-' . --package-name="release-assets" --use- package-registry. --publish-to-catalog=false GitLab CI/CD. -r, --ref="" ref . SHA . -D, --released-at="" ISO 8601 . . -T, --tag-message="" (annotated tag) . --use-package-registry[=false] . GITLAB_RELEASE_ASSETS_USE_PACKAGE_REGISTRY . (OPTIONS INHERITED FROM PARENT COMMANDS) -h, --help[=false] . -R, --repo="" . OWNER/REPO GROUP/NAMESPACE/REPO . (URL) Git . (EXAMPLE) # glab release create v1.0.1 # glab release create v1.0.1 --notes "bugfix release" # glab release create v1.0.1 -F changelog.md # ( ) glab release create v1.0.1 --released-at "2024-01-15T10:00:00Z" # ( 'other' ) glab release create v1.0.1 '/path/to/asset.zip#My display label' # glab release create v1.0.1 '/path/to/asset.png#My display label#image' # ( 'other' ) glab release create v1.0.1 ./dist/* # tarball ( 'other' ) glab release create v1.0.1 ./dist/*.tar.gz # CI/CD GLAB_ENABLE_CI_AUTOLOGIN=true glab release create v1.0.1 --notes "See CHANGELOG.md" --ref "$CI_COMMIT_SHA" # CI/CD 'api' GITLAB_TOKEN="$ACCESS_TOKEN" glab release create v1.0.1 --notes "See CHANGELOG.md" --ref "$CI_COMMIT_SHA" # JSON glab release create v1.0.1 --assets-links=' [ { "name": "Asset1", "url":"https:///some/location/1", "link_type": "other", "direct_asset_path": "path/to/file" } ]' # () GitLab CI/CD # `ci_release_cli_catalog_publish_option` # GitLab . . # CI/CD "release" : # # - `yml` # "templates" . # - `ci_release_cli_catalog_publish_option` # GitLab . # : # - `.yml` `templates/secret-detection.yml`. # - `template.yml` # . # `templates/secret-detection/template.yml`. glab release create v1.0.1 --publish-to-catalog (SEE ALSO) glab-release(1) Auto generated by spf13/cobra Sep 2026 glab(1)