{"id":20285822,"url":"https://github.com/tpkn/version","last_synced_at":"2026-06-05T04:31:26.099Z","repository":{"id":74204192,"uuid":"366092807","full_name":"tpkn/version","owner":"tpkn","description":"A tool for easy version incrementation.","archived":false,"fork":false,"pushed_at":"2025-09-24T19:51:49.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-24T21:30:46.218Z","etag":null,"topics":["cli","go","increment","major","minor","patch","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/tpkn.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-10T15:36:46.000Z","updated_at":"2025-09-24T19:48:41.000Z","dependencies_parsed_at":"2024-02-23T21:24:57.732Z","dependency_job_id":"f81066ce-2ca3-4d5d-bc4d-6320458de47c","html_url":"https://github.com/tpkn/version","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tpkn/version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpkn","download_url":"https://codeload.github.com/tpkn/version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fversion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27471320,"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-12-03T02:00:06.367Z","response_time":57,"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":["cli","go","increment","major","minor","patch","version"],"created_at":"2024-11-14T14:29:06.559Z","updated_at":"2025-12-03T07:09:30.631Z","avatar_url":"https://github.com/tpkn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003cimg width=\"150\" src=\"icon.png\" alt=\"\" align=\"center\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n   A tool for easy version incrementation.\n\u003c/p\u003e\n\n\n\nUpon the first launch in a new project, the application creates a `.version` file (any filename can be specified using\nthe `-o` flag) in which the version `0.0.0` is recorded. If the project already contains a version file, it will update\nthe version number in it.\n\n## Usage\n\n```text\nversion [-M | -m | -p | -b] [-o]\n```\n\n## Options\n\n```text\n-M             Increment major version\n-m             Increment minor version\n-p             Increment patch version\n-b             Batch incrementation options: (M)ajor, (m)inor, and (p)atch\n-o             File for storing the version number (default: \"./.version\")\n-h, --help     Help\n-v, --version  Version\n```\n\n## Examples\n\n```shell\nversion -M\n# 0.0.0 -\u003e 1.0.0\n\nversion -m\n# 0.0.0 -\u003e 0.1.0\n\nversion -p\n# 0.0.0 -\u003e 0.0.1\n\nversion -b \"M\"\n# 0.0.0 -\u003e 1.0.0\n\nversion -b \"m\"\n# 0.0.0 -\u003e 0.1.0\n\nversion -b \"p\"\n# 0.0.0 -\u003e 0.0.1\n\nversion -b \"Mmp\"\n# 0.0.0 -\u003e 1.1.1\n\nversion -b \"mMp\"\n# 0.0.0 -\u003e 1.0.1\n\nversion -b \"mmmmp\"\n# 0.0.0 -\u003e 0.4.1\n\nversion -b \"Mpppppppppppppp\"\n# 0.0.0 -\u003e 1.0.14\n\nversion -b \"ppppppppppppppM\"\n# 0.0.0 -\u003e 1.0.0\n\nversion -b \"MMMMMMmmmmmmmmmmppppppppppppp\"\n# 0.0.0 -\u003e 7.5.13\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Fversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpkn%2Fversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Fversion/lists"}