{"id":18555367,"url":"https://github.com/craftypath/nextver","last_synced_at":"2025-10-09T03:36:17.869Z","repository":{"id":38452241,"uuid":"252403709","full_name":"craftypath/nextver","owner":"craftypath","description":"Version increments within your CI/CD pipeline. Works well with SemVer and CalVer.","archived":false,"fork":false,"pushed_at":"2025-07-14T14:53:10.000Z","size":200,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-14T16:29:01.893Z","etag":null,"topics":["auto-increment","automation","ci","devops","semantic-versioning","semver"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/craftypath.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}},"created_at":"2020-04-02T08:54:28.000Z","updated_at":"2025-07-14T14:49:15.000Z","dependencies_parsed_at":"2024-06-19T05:15:58.186Z","dependency_job_id":"d6b078b0-b4a0-4bf0-85ad-26eafca29643","html_url":"https://github.com/craftypath/nextver","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/craftypath/nextver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fnextver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fnextver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fnextver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fnextver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/craftypath","download_url":"https://codeload.github.com/craftypath/nextver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fnextver/sbom","scorecard":{"id":307162,"data":{"date":"2025-08-11","repo":{"name":"github.com/craftypath/nextver","commit":"31b4f68c19c4f0c20a0eb37b90df1f56f2b2abde"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/18 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/craftypath/nextver/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/craftypath/nextver/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/craftypath/nextver/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/craftypath/nextver/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/craftypath/nextver/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/craftypath/nextver/release.yaml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yaml:11","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: GoBuiltInFuzzer integration found: pkg/version/version_fuzz_test.go:26"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.6.0 not signed: https://api.github.com/repos/craftypath/nextver/releases/232253467","Warn: release artifact 0.5.0 not signed: https://api.github.com/repos/craftypath/nextver/releases/194957971","Warn: release artifact v0.4.0 not signed: https://api.github.com/repos/craftypath/nextver/releases/67071997","Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/craftypath/nextver/releases/39052754","Warn: release artifact v0.2.0 not signed: https://api.github.com/repos/craftypath/nextver/releases/27184753","Warn: release artifact 0.6.0 does not have provenance: https://api.github.com/repos/craftypath/nextver/releases/232253467","Warn: release artifact 0.5.0 does not have provenance: https://api.github.com/repos/craftypath/nextver/releases/194957971","Warn: release artifact v0.4.0 does not have provenance: https://api.github.com/repos/craftypath/nextver/releases/67071997","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/craftypath/nextver/releases/39052754","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/craftypath/nextver/releases/27184753"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2025-3830 / GHSA-x4rx-4gw3-53p4","Warn: Project is vulnerable to: GO-2025-3829","Warn: Project is vulnerable to: GO-2025-3770"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T22:21:43.877Z","repository_id":38452241,"created_at":"2025-08-17T22:21:43.877Z","updated_at":"2025-08-17T22:21:43.877Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000715,"owners_count":26082911,"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-09T02:00:07.460Z","response_time":59,"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":["auto-increment","automation","ci","devops","semantic-versioning","semver"],"created_at":"2024-11-06T21:26:19.313Z","updated_at":"2025-10-09T03:36:17.832Z","avatar_url":"https://github.com/craftypath.png","language":"Go","readme":"# nextver\n\n## Features\n\n- auto-increments major, minor, or patch version when set to `x`:\n\n```\nnextver -c 0.0.0 -p 0.x.0 # prints 0.1.0\nnextver -c 0.1.0 -p 0.x.0 # prints 0.2.0\n# ... and so on ...\n```\n\n- in case you don't know / care about higher position versions, use `?` to keep their current value:\n\n```\nnextver -c 1.2.0 -p '?.x.0' # prints 1.3.0\n```\n\n- bump versions explicitly, with the auto-increment being reset to `0`:\n\n```\n# time for 1.0.0\nnextver -c 0.487.0 -p 1.x.0 # prints 1.0.0\nnextver -c 1.0.0 -p 1.x.0 # prints 1.1.0\n\n```\n\n- add/keep/remove commonly used `v` prefix:\n\n```\nnextver -c 0.1.0 -p v0.x.0 # prints v0.2.0\nnextver -c v0.2.0 -p v0.x.0 # prints v0.3.0\nnextver -c v0.3.0 -p 0.x.0 # prints 0.4.0\n```\n\n- add/keep/remove pre-release and/or build info:\n\n```\nnextver -c 2.1.0 -p 2.x.0+abc # prints 2.2.0+abc\nnextver -c 2.2.0+abc -p 2.x.0+abc # prints 2.3.0+abc\nnextver -c 2.3.0+abc -p 2.x.0 # prints 2.4.0\n```\n\n## Usage\n\n```console\n$ nextver -h\nnextver manages automatic semver versioning\n\nUsage:\n  nextver [flags]\n\nFlags:\n  -c, --current-version string   the current version\n  -h, --help                     help for nextver\n  -p, --pattern string           the versioning pattern\n  -v, --version                  version for nextver\n```\n\n## CI/CD Example\n\nIf your artifact should have major version `0`, but you also want to bump the minor version with each build:\n```\ncurrentVersion=$(git describe --abbrev=0)\nnextVersion=$(nextver -c \"$currentVersion\" -p 0.x.0)\ngit tag \"$nextVersion\"\ngit push --tags\n# ... use $nextVersion, e.g. to tag a docker image.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftypath%2Fnextver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraftypath%2Fnextver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftypath%2Fnextver/lists"}