{"id":17914215,"url":"https://github.com/knadh/zig-releaser","last_synced_at":"2026-03-01T22:02:35.742Z","repository":{"id":66339870,"uuid":"420464316","full_name":"knadh/zig-releaser","owner":"knadh","description":"A simple hack to use GoReleaser to build, release, and publish Zig projects.","archived":false,"fork":false,"pushed_at":"2025-03-08T04:30:25.000Z","size":7,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-13T07:59:51.263Z","etag":null,"topics":["build-release","build-tool","goreleaser","package","release","release-automation","zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/knadh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-23T16:26:44.000Z","updated_at":"2025-12-02T19:38:32.000Z","dependencies_parsed_at":"2024-10-28T19:57:02.369Z","dependency_job_id":"ce2fccf0-1198-4dc5-9292-980d65e9f89d","html_url":"https://github.com/knadh/zig-releaser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/knadh/zig-releaser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Fzig-releaser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Fzig-releaser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Fzig-releaser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Fzig-releaser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knadh","download_url":"https://codeload.github.com/knadh/zig-releaser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Fzig-releaser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29986241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T21:06:37.093Z","status":"ssl_error","status_checked_at":"2026-03-01T21:05:45.052Z","response_time":124,"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":["build-release","build-tool","goreleaser","package","release","release-automation","zig","zig-package"],"created_at":"2024-10-28T19:56:53.120Z","updated_at":"2026-03-01T22:02:35.723Z","avatar_url":"https://github.com/knadh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoReleaser v2 Official Support 🎉\n\nSee \u003chttps://goreleaser.com/quick-start/\u003e.\n\n# zig-releaser (old, GoReleaser v1)\n\nzig-releaser is a hack that allows Zig programs to be built, packaged, and released with [GoReleaser](https://goreleaser.com), a tool for publishing Go programs.\n\n[Here is an example](https://github.com/knadh/csv2json/releases) for a Zig program published to GitHub with GoReleaser. The changelog and artefacts are all automatically generated by GoReleaser. This hack has only been tested with GitHub but should work with other release targets GoReleaser supports.\n\n### How to use\n\n- Install [GoReleaser](https://goreleaser.com/install/).\n- Setup the [GitHub token](https://github.com/settings/tokens/new) with `repo` perms.\n\n\n- Copy `.goreleaser/`, and `.goreleaser.yml` from this repo to the root of the Zig project.\n- Edit `.goreleaser.yml` for the project (generally the `binary`, `goos`, `files` fields).\n- Edit `build.sh` script to tweak the zig build flags.\n\nOnce the project is ready for release, add a semver tag (`git tag -a v0.1.0 -m v0.1.0`)\n\n### Dry run\n\n```sh\ngoreleaser --snapshot --skip=publish --clean\n```\n\nThe releases will appear in the `dist` directory.\n\n### Publish\n\n```sh\ngoreleaser --snapshot --skip=publish --clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknadh%2Fzig-releaser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknadh%2Fzig-releaser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknadh%2Fzig-releaser/lists"}