{"id":17724688,"url":"https://github.com/igrmk/git-version","last_synced_at":"2026-05-08T01:35:39.571Z","repository":{"id":110677904,"uuid":"404544990","full_name":"igrmk/git-version","owner":"igrmk","description":"Construct a version string from a Git repository","archived":false,"fork":false,"pushed_at":"2021-09-09T01:41:40.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-05T06:34:26.100Z","etag":null,"topics":["bash","git"],"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/igrmk.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":"2021-09-09T01:18:34.000Z","updated_at":"2021-09-09T02:15:07.000Z","dependencies_parsed_at":"2023-04-09T05:31:56.275Z","dependency_job_id":null,"html_url":"https://github.com/igrmk/git-version","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fgit-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fgit-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fgit-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fgit-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrmk","download_url":"https://codeload.github.com/igrmk/git-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246481005,"owners_count":20784458,"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":["bash","git"],"created_at":"2024-10-25T15:48:32.190Z","updated_at":"2026-05-08T01:35:34.552Z","avatar_url":"https://github.com/igrmk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Git version\n===========\n\nThis is a very simple Bash script that constructs a version string from a Git repository according to the rules of Go modules.\n\nhttps://golang.org/ref/mod#versions\n\nhttps://golang.org/ref/mod#pseudo-versions\n\nUsage\n-----\n\nCopy the script\n\n```bash\ncurl https://raw.githubusercontent.com/igrmk/git-version/main/describe-version \u003e describe-version\nchmod u+x describe-version\n```\n\nUse it as you wish\n\n```bash\necho \"__version__ = \\\"$(./describe-version)\\\"\" \u003e _version.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrmk%2Fgit-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrmk%2Fgit-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrmk%2Fgit-version/lists"}