{"id":25719362,"url":"https://github.com/serhalp/copy-github-release","last_synced_at":"2025-08-13T01:19:16.505Z","repository":{"id":244136708,"uuid":"814373548","full_name":"serhalp/copy-github-release","owner":"serhalp","description":"Copy a GitHub release from one repository to another","archived":false,"fork":false,"pushed_at":"2025-08-10T13:06:56.000Z","size":70,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T15:22:09.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serhalp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-06-12T22:16:30.000Z","updated_at":"2025-06-19T16:34:51.000Z","dependencies_parsed_at":"2024-12-15T15:24:03.898Z","dependency_job_id":"c98837d4-9a83-4391-8548-2840d52efdae","html_url":"https://github.com/serhalp/copy-github-release","commit_stats":null,"previous_names":["serhalp/copy-github-release"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/serhalp/copy-github-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhalp%2Fcopy-github-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhalp%2Fcopy-github-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhalp%2Fcopy-github-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhalp%2Fcopy-github-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serhalp","download_url":"https://codeload.github.com/serhalp/copy-github-release/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhalp%2Fcopy-github-release/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270162328,"owners_count":24537799,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-02-25T16:51:51.133Z","updated_at":"2025-08-13T01:19:16.449Z","avatar_url":"https://github.com/serhalp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# copy-github-release\n\nA simple script to copy a GitHub release from one repository to another\n\n## Assumptions\n\nThis makes some very specific assumptions:\n\n- The release is linked to a git tag\n- The git tag also exists in the target repo\n\n## Prerequisites\n\n- This script requires node v20 or above.\n- Generate a GitHub Personal Access Token (PAT) with [the necessary\n  permissions](https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release--fine-grained-access-tokens).\n\n## Usage\n\nInstall dependencies:\n\n```sh\ncorepack enable pnpm\npnpm install\n```\n\nTo copy release `v1.2.3` from `myname/old-repo` to `myfriend/new-repo`:\n\n```sh\nGITHUB_TOKEN=\"\u003cyour PAT\u003e\" pnpm run start --from myname/old-repo --to myfriend/new-repo --release v1.2.3\n```\n\nTo copy multiple releases, just tweak the code or send me a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhalp%2Fcopy-github-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserhalp%2Fcopy-github-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhalp%2Fcopy-github-release/lists"}