{"id":18662610,"url":"https://github.com/zcong1993/git-release","last_synced_at":"2026-04-25T12:33:00.341Z","repository":{"id":64306782,"uuid":"94308427","full_name":"zcong1993/git-release","owner":"zcong1993","description":"Generate github release with changelog in a single command","archived":false,"fork":false,"pushed_at":"2017-06-20T08:13:14.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-22T04:42:16.037Z","etag":null,"topics":["github","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/zcong1993.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-14T08:32:50.000Z","updated_at":"2017-06-20T08:01:56.000Z","dependencies_parsed_at":"2023-01-15T10:45:16.595Z","dependency_job_id":null,"html_url":"https://github.com/zcong1993/git-release","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zcong1993/git-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcong1993%2Fgit-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcong1993%2Fgit-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcong1993%2Fgit-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcong1993%2Fgit-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zcong1993","download_url":"https://codeload.github.com/zcong1993/git-release/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcong1993%2Fgit-release/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github","golang","release"],"created_at":"2024-11-07T08:13:16.696Z","updated_at":"2026-04-25T12:33:00.315Z","avatar_url":"https://github.com/zcong1993.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-release\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/zcong1993/git-release)](https://goreportcard.com/report/github.com/zcong1993/git-release)\n[![Build Status](https://travis-ci.org/zcong1993/git-release.svg?branch=master)](https://travis-ci.org/zcong1993/git-release)\n\n\u003e Generate github release with changelog in a single command, like [this](https://github.com/zcong1993/git-release/releases)\n\nBased on [tcnksm/ghr](https://github.com/tcnksm/ghr)\n\n## Install\nDownload binary from [release](https://github.com/zcong1993/git-release/releases) page and place it in `$PATH` directory.\n\nOr build yourself\n```bash\n$ go get -v -u github.com/zcong1993/git-release\n$ cd $GOPATH/github.com/zcong1993/git-release\n$ make build\n# then place ./bin/rls in `$PATH` directory.\n```\n\n## Usage\n```bash\n$ rls [option] TAG\n```\n`TAG` is required. TAG is the release tag. And must config github api token first.\n\n### GitHub API Token\n\nTo get token, first, visit GitHub account settings page, then go to Applications for the user. Here you can create a token in the Personal access tokens section. For a private repository you need repo scope and for a public repository you need public_repo scope.\n\nWhen using ghr, you can set it via GITHUB_TOKEN env var, -token command line option or github.token property in .gitconfig file.\n\nFor instance, to set it via environmental variable:\n```bash\n$ export GITHUB_TOKEN=\".....\"\n```\nOr set it in github.token in gitconfig:\n\n```bash\n$ git config --global github.token \".....\"\n```\nNote that environmental variable takes priority over gitconfig value.\n\n### GitHub Enterprise\n\nYou can use ghr for GitHub Enterprise. Change API endpoint via the enviromental variable.\n```bash\n$ export GITHUB_API=http://github.company.com/api/v3/\n```\n\n### Options\n\n```bash\n$ rls \\\n    -t TOKEN \\        # Set Github API Token\n    -u USERNAME \\     # Set Github username\n    -r REPO \\         # Set repository name\n    -c COMMIT \\       # Set target commitish, branch or commit SHA\n    -delete \\         # Delete release and its git tag in advance if it exists\n    -draft \\          # Release as draft (Unpublish)\n    -prerelease \\     # Crate prerelease\n    TAG\n```\n\n## License\n\nMIT \u0026copy; zcong1993\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcong1993%2Fgit-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcong1993%2Fgit-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcong1993%2Fgit-release/lists"}