{"id":24826822,"url":"https://github.com/zamicol/gitversion","last_synced_at":"2026-04-29T14:02:50.583Z","repository":{"id":45292432,"uuid":"69823326","full_name":"zamicol/gitversion","owner":"zamicol","description":"Use git for semantic like project versioning.","archived":false,"fork":false,"pushed_at":"2023-02-22T18:06:30.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T00:37:24.596Z","etag":null,"topics":["git","semantic-versioning","tags","versioning"],"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/zamicol.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}},"created_at":"2016-10-02T21:32:57.000Z","updated_at":"2022-09-22T19:56:19.000Z","dependencies_parsed_at":"2024-06-20T00:03:19.980Z","dependency_job_id":"687ddc97-43ce-4674-b4e4-01812b18c24e","html_url":"https://github.com/zamicol/gitversion","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zamicol/gitversion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zamicol%2Fgitversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zamicol%2Fgitversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zamicol%2Fgitversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zamicol%2Fgitversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zamicol","download_url":"https://codeload.github.com/zamicol/gitversion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zamicol%2Fgitversion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262123004,"owners_count":23262513,"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":["git","semantic-versioning","tags","versioning"],"created_at":"2025-01-30T21:21:39.478Z","updated_at":"2026-04-29T14:02:45.531Z","avatar_url":"https://github.com/zamicol.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitversion\n\nSemantic like project versioning using git.  \n\nThe \"version\" is\n  1. The git tag if it exists, if not 'v0.0.0'\n  2. The git commit hash.\n  3. The string \"uncommitted\" if the current git repo is not committed.\n\nFor example:\n\n    1.0.2 136540C6F09BA9783C6D6DE89A7D9F2E038F6C26 uncommitted\n\nIt's recommend `git tag`'s value be set to the semantic version.\n\nFor example `git tag 0.0.1` will result in:\n\n    0.0.1 EF8F94357058CE9CBA81909016B138E6D54C0381\n\n\n## Go Quickstart\n[Godoc](https://godoc.org/github.com/zamicol/gitversion)\n\n` import github.com/zamicol/gitversion`\n\n\n# Why when there's `go mod`?\n\n- go mod does not use git's hashes in total for versioning.\n- There is no command to easily get the current project's mod information.\n- For running binaries on deployment servers.\n- Does not rehash the project.  \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzamicol%2Fgitversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzamicol%2Fgitversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzamicol%2Fgitversion/lists"}