{"id":15403627,"url":"https://github.com/rogervinas/grgit-get-version","last_synced_at":"2025-11-05T02:30:26.170Z","repository":{"id":115435538,"uuid":"501225669","full_name":"rogervinas/grgit-get-version","owner":"rogervinas","description":"Use grgit gradle plugin to get current version","archived":false,"fork":false,"pushed_at":"2022-06-09T10:28:26.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T11:23:54.127Z","etag":null,"topics":["grgit"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/rogervinas.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}},"created_at":"2022-06-08T11:41:48.000Z","updated_at":"2022-06-08T14:03:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b66fe2ec-fb9e-460f-846b-f9314241fd6f","html_url":"https://github.com/rogervinas/grgit-get-version","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"2bb9375a3381191575c13d83210bb7dd3f24f432"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogervinas%2Fgrgit-get-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogervinas%2Fgrgit-get-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogervinas%2Fgrgit-get-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogervinas%2Fgrgit-get-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogervinas","download_url":"https://codeload.github.com/rogervinas/grgit-get-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449544,"owners_count":19640532,"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":["grgit"],"created_at":"2024-10-01T16:09:30.077Z","updated_at":"2025-11-05T02:30:26.118Z","avatar_url":"https://github.com/rogervinas.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grgit gradle plugin to get current version\n\nSee doc at https://ajoberstar.org/grgit/grgit-describe.html\n\n1. First time \n\n```shell\n./gradlew getVersion\n\n\u003e Task :getVersion\nSNAPSHOT VERSION 0.0.0.7526fa4\n```\n\n2. We add a tag\n\n```shell\ngit tag 1.0.0\n./gradlew getVersion\n\n\u003e Task :getVersion\nRELEASED VERSION 1.0.0\n```\n\n3. We add another commit\n```shell\ngit commit --allow-empty -m \"Another commit\"\n./gradlew getVersion\n\n\u003e Task :getVersion\nSNAPSHOT VERSION 1.0.0.99cb359\n```\n\n\n2. We add another tag\n\n```shell\ngit tag 1.0.1\n./gradlew getVersion\n\n\u003e Task :getVersion\nRELEASED VERSION 1.0.1\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogervinas%2Fgrgit-get-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogervinas%2Fgrgit-get-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogervinas%2Fgrgit-get-version/lists"}