{"id":25516882,"url":"https://github.com/wesleimp/bump-version","last_synced_at":"2025-11-04T02:04:18.969Z","repository":{"id":110106168,"uuid":"454949699","full_name":"wesleimp/bump-version","owner":"wesleimp","description":"Bump a given semantic version, following a given version fragment.","archived":false,"fork":false,"pushed_at":"2022-02-03T14:18:51.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T01:54:30.082Z","etag":null,"topics":["golang","semantic-version"],"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/wesleimp.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":"2022-02-02T22:00:50.000Z","updated_at":"2022-02-07T14:46:26.000Z","dependencies_parsed_at":"2023-05-21T15:45:47.258Z","dependency_job_id":null,"html_url":"https://github.com/wesleimp/bump-version","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fbump-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fbump-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fbump-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fbump-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesleimp","download_url":"https://codeload.github.com/wesleimp/bump-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239680990,"owners_count":19679508,"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":["golang","semantic-version"],"created_at":"2025-02-19T14:52:53.663Z","updated_at":"2025-11-04T02:04:18.933Z","avatar_url":"https://github.com/wesleimp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bump-version\n\n Bump a given semantic version, following a given version fragment.\n\n## Install\n\n### manually\n\nDownload the pre-compiled binaries from the [OSS releases page](https://github.com/wesleimp/bump-version/releases) and copy them to the desired location.\n\n### compiling from source\n\nIf you just want to build from source, follow these steps:\n\n**clone**\n\n```sh\ngit clone https://github.com/wesleimp/bump-version\ncd bump-version \n```\n\n**dependencies**\n\n```sh\ngo mod tidy\n```\n\nFor the next steps, you can just run `make install` to build binaries directly inside `/usr/local/bin/` folder. Or just follow the steps below:\n\n**build**\n\n```sh\nmake build\n```\n\n**verify it works**\n\n```sh \n./bin/bump-version -v\n```\n\n## Usage\n\n```sh \nbump-version [options...] \u003cversion\u003e\n```\n\nThe available options for the `fragment` flag are `[major | feature | bug | alpha | beta | rc]`. See some examples:\n\n| fragment         | version         | output        |\n| ---------------- | --------------- | ------------- |\n| major            | 2.11.7          | 3.0.0         |\n| major            | 2.11.7-alpha3   | 3.0.0         |\n| feature          | 2.11.7          | 2.12.0        |\n| feature          | 2.11.7-alpha3   | 2.12.0        |\n| bug              | 2.11.7          | 2.11.8        |\n| bug              | 2.11.7-alpha3   | 2.11.8        |\n| alpha            | 2.11.7          | 2.11.7-alpha1 |\n| alpha            | 2.11.7-alpha3   | 2.11.7-alpha4 |\n| beta             | 2.11.7          | 2.11.7-beta1  |\n| beta             | 2.11.7-alpha3   | 2.11.7-beta1  |\n| rc               | 2.11.7          | 2.11.7-rc1    |\n| rc               | 2.11.7-alpha3   | 2.11.7-rc1    |\n\n## LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleimp%2Fbump-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesleimp%2Fbump-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleimp%2Fbump-version/lists"}