{"id":28920197,"url":"https://github.com/praqma/plusbump","last_synced_at":"2026-02-23T23:34:26.902Z","repository":{"id":8892362,"uuid":"60067735","full_name":"Praqma/PlusBump","owner":"Praqma","description":"This project was previously known as by its temp name \"Wincrementor\". Content will be updated soon to match the new name.","archived":false,"fork":false,"pushed_at":"2024-11-18T05:03:39.000Z","size":60,"stargazers_count":1,"open_issues_count":25,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-22T04:12:49.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/Praqma.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}},"created_at":"2016-05-31T07:31:00.000Z","updated_at":"2018-10-05T09:58:37.000Z","dependencies_parsed_at":"2023-01-11T20:11:31.348Z","dependency_job_id":null,"html_url":"https://github.com/Praqma/PlusBump","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Praqma/PlusBump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2FPlusBump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2FPlusBump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2FPlusBump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2FPlusBump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Praqma","download_url":"https://codeload.github.com/Praqma/PlusBump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2FPlusBump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322146,"owners_count":25967874,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-06-22T04:12:49.462Z","updated_at":"2025-10-04T13:56:06.331Z","avatar_url":"https://github.com/Praqma.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\nmaintainer: jkrag\n---\n# Automatic version bumping\n\n### Initial \"requirement\" description\n\nLook at all commits between \u003cref\u003e and HEAD.\n\nLook for commit-message mentions of +major or +minor (unless different patterns where specified ). +patch is implicit as the default if none of the others where specified.\n\nIf a version string was specified, bump the provided semver string correctly.\nI.e. increase the highest bumped level, and reset those below to 0.\n\nCurrently, the bump leaves any part of semver after `-` intact (e.g. 1.3.14-alpha3+as34df32), but I reserve the right to change my mind on this :-D\n\nIf no version string was specified bump the version 0.0.0, i.e. return either 1.0.0, 0.1.0 or 0.0.1\n\n### Other features\nThe tool already supports a few more features:\n\n### Helping users\nIf you decide to require bumps on every commit (e.g. instead of assuming +patch as default), then it can be very helpful to users set up a push hook (pre-receive on Git) that rejects commits without a bump.\n\nI have successfully done this on BitBucket using the \"Jira Hooks for BitBucket\" plugin (that we were using anyway), and used the following regex:\n```\n(^|(.|\\n)*\\s)\\+(major|minor|patch)($|\\s(.|\\n)*)\n```\n\nThis RegEx should also be quite usable in other plugins or handwritten hooks as it does not require multiline or other switches to be supported.\nIt allows the `+bump` message to appear anywhere in the commit message as long as it is not adjacent to other text. (i.e. `my+patch` and `+patching` will be rejected.\n\n\n## CodeScene analysis\n[![](https://codescene.io/projects/2928/status.svg) Get more details at **codescene.io**.](https://codescene.io/projects/2928/jobs/latest-successful/results)\n=======\n### Developer guide\n\n#### How to test\n\nSimply run `rake` for the simple test without output, and `rake doc` for the more verbose output. Test are located in the `spec` folder. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraqma%2Fplusbump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraqma%2Fplusbump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraqma%2Fplusbump/lists"}