{"id":15679008,"url":"https://github.com/anton-yurchenko/version-bump","last_synced_at":"2026-03-12T06:01:41.706Z","repository":{"id":39262181,"uuid":"384795964","full_name":"anton-yurchenko/version-bump","owner":"anton-yurchenko","description":"Easily increment :signal_strength: a multi-language :trident: project version","archived":false,"fork":false,"pushed_at":"2025-12-08T10:05:45.000Z","size":1183,"stargazers_count":14,"open_issues_count":9,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T16:37:46.213Z","etag":null,"topics":["bump","cli","git","increment","semver","version","versioning"],"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/anton-yurchenko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-10T21:28:45.000Z","updated_at":"2025-07-01T14:13:27.000Z","dependencies_parsed_at":"2023-10-03T17:20:00.536Z","dependency_job_id":"61da7fd4-f76a-4fd8-8c1d-f1f8de6f08c8","html_url":"https://github.com/anton-yurchenko/version-bump","commit_stats":null,"previous_names":["anton-yurchenko/bump"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/anton-yurchenko/version-bump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anton-yurchenko%2Fversion-bump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anton-yurchenko%2Fversion-bump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anton-yurchenko%2Fversion-bump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anton-yurchenko%2Fversion-bump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anton-yurchenko","download_url":"https://codeload.github.com/anton-yurchenko/version-bump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anton-yurchenko%2Fversion-bump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30416730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bump","cli","git","increment","semver","version","versioning"],"created_at":"2024-10-03T16:25:56.191Z","updated_at":"2026-03-12T06:01:41.627Z","avatar_url":"https://github.com/anton-yurchenko.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# version-bump\n\n[![Release](https://img.shields.io/github/v/release/anton-yurchenko/version-bump)](https://github.com/anton-yurchenko/version-bump/releases/latest)\n[![Code Coverage](https://codecov.io/gh/anton-yurchenko/version-bump/branch/main/graph/badge.svg)](https://codecov.io/gh/anton-yurchenko/version-bump)\n[![Go Report Card](https://goreportcard.com/badge/github.com/anton-yurchenko/version-bump)](https://goreportcard.com/report/github.com/anton-yurchenko/version-bump)\n[![Release](https://github.com/anton-yurchenko/version-bump/actions/workflows/release.yml/badge.svg)](https://github.com/anton-yurchenko/version-bump/actions/workflows/release.yml)\n[![License](https://img.shields.io/github/license/anton-yurchenko/version-bump)](LICENSE.md)\n\nHave you ever made a mistake incrementing a project version?  \nDo you have multiple files to update the version at?  \nI was always forgetting to update a `Dockerfile` label or a version constant in `main.go` file. Inspired by `npm bump`, I wrote **version-bump**.  \n\nThis application allows easily incrementing a single/multi language project [Semantic Version](https://semver.org/), committing the changes and tagging a commit.\n\n![PIC](docs/images/demo.png)\n\n## Features\n\n- Supported languages: **Go**, **Docker**, **JavaScript**\n- [Semantic Versioning](https://semver.org/) Compliant\n- Update files in multiple directories of the project at once\n- Commit and tag changes\n\n## Installation\n\nDownload [latest release](https://github.com/anton-yurchenko/version-bump/releases/latest) and move the file to one of the directories under your `PATH` environmental variable.\n\n## Configuration\n\n**version-bump** has two modes of operation: automatic / manual.\nIn automatic mode, **version-bump** will try to identify versions of all supported languages in a root of the project (wherever executed).\nIn a manual mode, **version-bump** will read a configuration file and modify files according to it. It is expected be executed in a root of the project where the configuration file is.\n\nSome languages, have a constant value in a specific file that contains a version, which are fairly easy to increment.\nBut some languages are leaving that decision to a developer, thus **version-bump** assumes a constant position/value for them as well.\n\n| Language      | Expected Values                               | Filename                              |\n|:-------------:|:---------------------------------------------:|:-------------------------------------:|\n| Docker        | `org.opencontainers.image.version` label      | `Dockerfile`                          |\n| Go            | String constant named `Version`/`version`     | `*.go`                                |\n| JavaScript    | JSON `version` field                          | `package.json`, `package-lock.json`   |\n\n### Automatic\n\nRun **version-bump** in a root of the project: `version-bump \u003cmajor/minor/patch\u003e`\n\n### Manual\n\n1. Create a configuration `.bump` file in a root of the project.\n2. Add project languages and their configuration in a form of:\n\n    ```toml\n    [ \u003clanguage-name\u003e ]\n    enabled = true/false\n    directories = [ \u003cpath\u003e, \u003cpath\u003e, ... ]\n    exclude_files = [ \u003cpath\u003e, \u003cpath\u003e, ... ]\n    ```\n\n    - `\u003clanguage-name\u003e` - one of `[ 'docker', 'go', 'javascript' ]`\n    - `enabled` - default `false`\n    - `directories` - default `['.']`\n    - `exclude_files` - default `[]`\n\n3. Run **version-bump** in a root of the project: `version-bump \u003cmajor/minor/patch\u003e`\n\n*Configuration Example:*\n\n```toml\n[docker]\nenabled = true\ndirectories = [ '.', 'tools/qa' ]\n\n[go]\nenabled = true\ndirectories = [ 'server', 'tools/cli', 'tools/qa' ]\nexclude_files = [ 'server/server_test.go', 'tools/qa/main_test.go' ]\n\n[javascript]\nenabled = true\ndirectories = [ 'client' ]\n```\n\n## Remarks\n\n- Versions are expected to be consistent across all files\n- In automatic mode, **version-bump** has all languages enabled\n\n## License\n\n[MIT](LICENSE.md) © 2021-present Anton Yurchenko\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanton-yurchenko%2Fversion-bump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanton-yurchenko%2Fversion-bump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanton-yurchenko%2Fversion-bump/lists"}