{"id":13823333,"url":"https://github.com/shiimaxx/glr","last_synced_at":"2026-01-17T22:56:00.406Z","repository":{"id":53481117,"uuid":"261932692","full_name":"shiimaxx/glr","owner":"shiimaxx","description":"CLI tool for creating GitLab Release","archived":false,"fork":false,"pushed_at":"2024-11-05T16:36:44.000Z","size":23,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T17:36:48.691Z","etag":null,"topics":["gitlab","golang","release"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shiimaxx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-07T02:43:16.000Z","updated_at":"2022-12-05T14:10:33.000Z","dependencies_parsed_at":"2023-09-26T01:17:54.996Z","dependency_job_id":"2043a18d-ebee-4c38-8a97-1c4794c92426","html_url":"https://github.com/shiimaxx/glr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiimaxx%2Fglr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiimaxx%2Fglr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiimaxx%2Fglr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiimaxx%2Fglr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiimaxx","download_url":"https://codeload.github.com/shiimaxx/glr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225453310,"owners_count":17476700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitlab","golang","release"],"created_at":"2024-08-04T09:00:30.054Z","updated_at":"2026-01-17T22:56:00.389Z","avatar_url":"https://github.com/shiimaxx.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# glr\n\n`glr` is a tool for creating [GitLab Release](https://docs.gitlab.com/ee/user/project/releases/).\n\n\n## Example\n\n\n```\n$ glr -upload ./dist v0.1.0\n[Created release]\nTitle: v0.1.0\nRelease assets:\n--\u003e glr_v0.1.0_darwin_amd64.zip: https://gitlab.com/shiimaxx/glr-demo/uploads/.../glr_v0.1.0_darwin_amd64.zip\n--\u003e glr_v0.1.0_linux_amd64.tar.gz: https://gitlab.com/shiimaxx/glr-demo/uploads/.../glr_v0.1.0_linux_amd64.tar.gz\n--\u003e glr_v0.1.0_windows_amd64.zip: https://gitlab.com/shiimaxx/glr-demo/uploads/.../glr_v0.1.0_windows_amd64.zip\n```\n\n## Usage\n\nRun the `glr` after you moved to the GitLab project root directory.\n\n```\n$ glr [options] TAG\n```\n\n`TAG` is a git tag. You must be specified a git tag in an argument.\n\nWhen including assets in the release, use `-upload` option for uploading assets, or use `-asset-name` and `--asset-url` options for specifying any link.\n\n\n## GitLab Token\n\nPlease set your GitLab Token. You can get GitLab Token from [this page](https://gitlab.com/profile/personal_access_tokens).\n\n```\n$ export GITLAB_TOKEN=...\n```\n\n\n## GitLab API Endpoint\n\nDefault GitLab API Endpoint is `https://gitlab.com/api/v4/`. You can change it via `GITLAB_API`.\n\n```\nexport GITLAB_API=https://gitlab.example.com/api/v4/\n```\n\n\n## Release assets links\n\nGitLab Release has two type of release assets that are **Souce code** and **Links**.\n\n`glr` support creating asset links. Each link has properties that name and URL.\n\nURL is a link to actual asset file like\n\n- Built artifacts in GitLab CI\n- External file\n- Uploaded file in the project\n\nIf you want to create assets links for exists assets like build artifacts and external file, you can use `-asset-name` and `--asset-url` options for specifying assets URL.\n\nAlso, if you use `-upload` option, can uploading local assets at the same time of creating a release and create assets links for that.\n\nSee also [GitLab Docs - GitLab Release](https://docs.gitlab.com/ee/user/project/releases/index.html).\n\n\n## Install\n\n- Download binary from [release page](https://github.com/shiimaxx/glr/releases)\n- Copy binary to `$PATH` directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiimaxx%2Fglr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiimaxx%2Fglr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiimaxx%2Fglr/lists"}