{"id":34063182,"url":"https://github.com/atudomain/git-conventional-version","last_synced_at":"2026-04-24T17:03:12.348Z","repository":{"id":57434478,"uuid":"420406932","full_name":"atudomain/git-conventional-version","owner":"atudomain","description":"Increment version automatically based on git tags and commit messages.","archived":false,"fork":false,"pushed_at":"2022-09-05T15:28:50.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-16T02:36:57.145Z","etag":null,"topics":["changelog","changelog-generator","conventional","conventional-changelog","conventional-commits","git","python","release","release-automation","tags","versioning","versions"],"latest_commit_sha":null,"homepage":"","language":"Python","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/atudomain.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-23T12:31:19.000Z","updated_at":"2021-11-07T12:30:38.000Z","dependencies_parsed_at":"2022-09-04T15:30:57.767Z","dependency_job_id":null,"html_url":"https://github.com/atudomain/git-conventional-version","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/atudomain/git-conventional-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atudomain%2Fgit-conventional-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atudomain%2Fgit-conventional-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atudomain%2Fgit-conventional-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atudomain%2Fgit-conventional-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atudomain","download_url":"https://codeload.github.com/atudomain/git-conventional-version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atudomain%2Fgit-conventional-version/sbom","scorecard":{"id":215849,"data":{"date":"2025-08-11","repo":{"name":"github.com/atudomain/git-conventional-version","commit":"37de40b05ace5b9f1e320866b9abe828323d17ef"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/github-actions.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-actions.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/atudomain/git-conventional-version/github-actions.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-actions.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/atudomain/git-conventional-version/github-actions.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/github-actions.yml:14","Warn: pipCommand not pinned by hash: .github/workflows/github-actions.yml:15","Warn: pipCommand not pinned by hash: .github/workflows/github-actions.yml:16","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.0.2 not signed: https://api.github.com/repos/atudomain/git-conventional-version/releases/52373084","Warn: release artifact 1.0.2 does not have provenance: https://api.github.com/repos/atudomain/git-conventional-version/releases/52373084"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T01:38:00.706Z","repository_id":57434478,"created_at":"2025-08-17T01:38:00.706Z","updated_at":"2025-08-17T01:38:00.706Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32232629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["changelog","changelog-generator","conventional","conventional-changelog","conventional-commits","git","python","release","release-automation","tags","versioning","versions"],"created_at":"2025-12-14T05:11:15.722Z","updated_at":"2026-04-24T17:03:12.307Z","avatar_url":"https://github.com/atudomain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GIT-CONVENTIONAL-VERSION\n\n![ci-badge](https://github.com/atudomain/git-conventional-version/actions/workflows/github-actions.yml/badge.svg?branch=main)\n\nFind version automatically based on git tags and commit messages.\n\nThe tool is very specific in its function, so it is very flexible. \n\nYou can use it as a part of many different integrations and it will not break your process.\n\n## Install\n\n```\npython3 -m pip install git-conventional-version\n```\n\n## Usage\n\nGet new bumped final version:\n```\ngcv\n```\n\nGet new bumped release candidate version:\n```\ngcv --type=rc\n```\n\nGet current (old) version, 0.0.0 if none exists:\n```\ngcv --old\n```\n\nExample of CI automation script:\n```\nold=$(gcv --old)\nnew=$(gcv)\n# check if version bump would happen\nif [ ! $new == $old ]; then\n    # if yes, update setup.cfg\n    sed -i \"s/^version.*/version = $new/g\" setup.cfg\n    # and commit release\n    git add setup.cfg\n    git commit -m \"$new\"\n    git tag \"$new\"\n    git push --tags\n    git push\nfi\n```\n\n## Version formats\n\nTags are equivalent to versions, no suffix or prefix is added or interpreted.\nFormats follow https://www.python.org/dev/peps/pep-0440/.\n\n- Final version\n\nStandard tag is in the format `\\d+\\.\\d+\\.d+` ie. `1.0.0`. It can be divided into `major` . `minor` . `patch` versions.\n\nIt is automatically bumped based on commits messages and old version of the same type (look at `Git commit message convention` below).\n\n- Pre-release versions\n\nPre-release versions bumps are calculated based on last final version, its expected bump and old version of the same pre-release type.\n\n-    - Release candidate version\n\nFormat `\\d+\\.\\d+\\.d+rc\\d+` ie. `1.0.0rc1`.\n\n-    - Developmental version \n\nFormat `\\d+\\.\\d+\\.d+dev\\d+` ie. `1.0.0dev1`.\n\n-    - Alpha version \n\nFormat `\\d+\\.\\d+\\.d+a\\d+` ie. `1.0.0a1`.\n\n-    - Beta version \n\nFormat `\\d+\\.\\d+\\.d+b\\d+` ie. `1.0.0b1`.\n\n- Local version\n\nAlso, local version can be created from commit sha and old version: `\\d+\\.\\d+\\.d\\+.+` ie. `0.0.0+79ad`.\n\n## Git commit message convention\n\nConvention is based on https://www.conventionalcommits.org/en/v1.0.0/ (it's good!).\nAt the moment, only the following rules apply (I usually use only these but more can be added easily):\n- Start commit with 'fix:' or 'fix(.*):' to bump patch version.\n- Start commit with 'feat:' or 'feat(.*):' to bump minor version.\n- Include in the commit line with 'breaking change:' to bump major version.\n\n## Automatic changelog\n\nOn branch where your version tags are present, you can generate changelog:\n```\ngcv-log\n```\nFull changelog is generated and printed to stdout. You can redirect it to a file.\nAssumes that you are about to release next version if not on commit with final version.\n\n## Notices\n\nAutomatically handling many types of version tags in git is more complicated than it initially seems like.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatudomain%2Fgit-conventional-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatudomain%2Fgit-conventional-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatudomain%2Fgit-conventional-version/lists"}