{"id":45383589,"url":"https://github.com/maykonlsf/semver-cli","last_synced_at":"2026-02-21T17:05:15.426Z","repository":{"id":36910894,"uuid":"224275372","full_name":"maykonlsf/semver-cli","owner":"maykonlsf","description":"An easy to use CLI tool to manage your project versions and its upgrades according to the Semantic Versioning specification","archived":false,"fork":false,"pushed_at":"2025-11-27T16:46:55.000Z","size":123,"stargazers_count":98,"open_issues_count":4,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-30T09:11:03.835Z","etag":null,"topics":["ci-cd","cli","devops-pipeline","go","golang","semantic-versioning","version","version-control","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/maykonlsf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-11-26T20:00:34.000Z","updated_at":"2025-11-28T06:52:07.000Z","dependencies_parsed_at":"2024-06-18T21:36:18.104Z","dependency_job_id":"e2145192-8e62-48d8-a357-98f468a1e143","html_url":"https://github.com/maykonlsf/semver-cli","commit_stats":null,"previous_names":["maykonlsf/semver-cli","maykonlf/semver-cli"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/maykonlsf/semver-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykonlsf%2Fsemver-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykonlsf%2Fsemver-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykonlsf%2Fsemver-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykonlsf%2Fsemver-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maykonlsf","download_url":"https://codeload.github.com/maykonlsf/semver-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykonlsf%2Fsemver-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29688219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ci-cd","cli","devops-pipeline","go","golang","semantic-versioning","version","version-control","versioning"],"created_at":"2026-02-21T17:05:14.907Z","updated_at":"2026-02-21T17:05:15.417Z","avatar_url":"https://github.com/maykonlsf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Semantic Versioning Tool\n\nAn easy to use CLI tool to manage your projects current version and its upgrades according to the Semantic Versioning\nspecification.\n\n## Getting Started\n\n### Install\n\nIf you already have golang installed you can install by running the command:\n\n```sh\ngo install github.com/maykonlsf/semver-cli/cmd/semver@latest\n```\n\n#### Homebrew (macOS/Linux)\n\nYou can also install via the Homebrew tap (`maykonlsf/homebrew-semver-cli`):\n\n```sh\nbrew tap maykonlsf/semver-cli\nbrew install --cask semver-cli\n```\n\n### check install\n\nCheck if the semver was instaled running the command:\n\n```sh\nsemver \n```\n\n### Init semver\n\nTo start managing your project versions enter into the project folder, then run:\n\n```sh\nsemver init\n```\n\nThis command will start the versioning based on release version v1.0.0. If you want to start with another version number\nyou car run instead:\n\n```sh\nsemver init  \\\n    --release [base release version] \\\n    [ --alpha [curent alpha number] ] \\\n    [ --beta [current beta number] ] \\\n    [ --rc [current release candiate number] ] \\\n    [--force] # to override an already initialized semver in the current directory.\n```\n\n## Usage\n\n### Get current version\n\n#### Alpha\n\nReturns the current alpha version (if none will return and \"-alpha.0\" version).\n\n```sh\n$ semver get alpha\nv1.0.0-alpha.6\n```\n\n#### Beta\n\nReturns the current beta version (if none will return and \"-beta.0\" version).\n\n```sh\n$ semver get beta\nv1.0.0-beta.3\n```\n\n#### Release Candidate\n\nReturns the current release candidate version (if none will return and \"-rc.0\" version).\n\n```sh\n$ semver get rc\nv1.0.0-rc.1\n```\n\n#### Release\n\nReturns the current release version.\n\n```sh\n$ semver get release\nv1.0.0\n```\n\n### Upgrade version\n\n#### Alpha\n\nIncrement the current alpha version by 1. If none starts with 1.\n\n```sh\n$ semver up alpha\nv1.0.0-alpha.7\n```\n\n#### Beta\n\nIncrement the current beta version by 1. If none starts with 1.\n\n```sh\n$ semver up beta\nv1.0.0-beta.4\n```\n\n#### Release Candidate\n\nIncrement the current release candidate version by 1. If none starts with 1.\n\n```sh\n$ semver up rc\nv1.0.0-rc.2\n```\n\n#### Release\n\nUpgrade an alpha, beta or rc to its final release version. Also increments the patch number by 1 to a release version:\n\n```sh\n$ semver up release\nv1.0.0\n\n$ semver up release\nv1.0.1\n```\n\n#### Minor\n\nIncrements release minor version number by 1 (useful when you start working on next release version) and clear alpha,\nbeta, rc and patch number.\n\n```sh\n$ semver up minor\nv1.1.0\n```\n\nBefore you upgrade the minor version the next versions will be generated based on this new minor version.\n\n```sh\n$ semver up alpha\nv1.1.0-alpha.1\n\n$ semver up beta\nv1.1.0-beta.1\n\n$ semver up rc\nv1.1.0-rc.1\n```\n\n#### Major\n\nUpgrades the current version to the next major version (when you starts working on a new version with branking changes)\nand clear alpha, beta, rc, patch and minor number.\n\n```sh\n$ semver up major\nv2.0.0\n```\n\nBefore them, your next versions will be generated based on this new version.\n\n```sh\n$ semver up alpha\nv2.0.0-alpha.1\n\n$ semver up beta\nv2.0.0-beta.1\n\n$ semver up rc\nv2.0.0-rc.1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaykonlsf%2Fsemver-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaykonlsf%2Fsemver-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaykonlsf%2Fsemver-cli/lists"}