{"id":20187998,"url":"https://github.com/arran4/git-tag-inc","last_synced_at":"2026-04-02T19:13:44.481Z","repository":{"id":57625339,"uuid":"399372948","full_name":"arran4/git-tag-inc","owner":"arran4","description":"Yet another semantic version incrementor and tagger for git ","archived":false,"fork":false,"pushed_at":"2026-03-25T08:16:40.000Z","size":191,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-26T12:17:12.052Z","etag":null,"topics":["cli","git","git-tag","git-tags","go","golang","semantic","semantic-versioning","util"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arran4.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-08-24T07:23:00.000Z","updated_at":"2026-03-25T08:16:43.000Z","dependencies_parsed_at":"2024-06-20T15:29:23.492Z","dependency_job_id":"fd1da50f-419a-4b12-affe-5599e08691c6","html_url":"https://github.com/arran4/git-tag-inc","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/arran4/git-tag-inc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arran4%2Fgit-tag-inc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arran4%2Fgit-tag-inc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arran4%2Fgit-tag-inc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arran4%2Fgit-tag-inc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arran4","download_url":"https://codeload.github.com/arran4/git-tag-inc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arran4%2Fgit-tag-inc/sbom","scorecard":{"id":208388,"data":{"date":"2025-08-11","repo":{"name":"github.com/arran4/git-tag-inc","commit":"9800b39638cefd40e0652c97e2499adc744c0b5c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Maintained","score":10,"reason":"13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/golangci-lint.yml:1","Warn: no topLevel permission defined: .github/workflows/goreleaser.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","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":"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/golangci-lint.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/golangci-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/golangci-lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/golangci-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/goreleaser.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/goreleaser.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/goreleaser.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/goreleaser.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/arran4/git-tag-inc/test.yml/main?enable=pin","Info:   0 out of   8 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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/goreleaser.yml:9"],"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.7 not signed: https://api.github.com/repos/arran4/git-tag-inc/releases/225399916","Warn: release artifact v1.1.6 not signed: https://api.github.com/repos/arran4/git-tag-inc/releases/223332506","Warn: release artifact v1.1.3 not signed: https://api.github.com/repos/arran4/git-tag-inc/releases/49643816","Warn: release artifact v1.1.2 not signed: https://api.github.com/repos/arran4/git-tag-inc/releases/49643530","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/arran4/git-tag-inc/releases/48860526","Warn: release artifact v1.1.7 does not have provenance: https://api.github.com/repos/arran4/git-tag-inc/releases/225399916","Warn: release artifact v1.1.6 does not have provenance: https://api.github.com/repos/arran4/git-tag-inc/releases/223332506","Warn: release artifact v1.1.3 does not have provenance: https://api.github.com/repos/arran4/git-tag-inc/releases/49643816","Warn: release artifact v1.1.2 does not have provenance: https://api.github.com/repos/arran4/git-tag-inc/releases/49643530","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/arran4/git-tag-inc/releases/48860526"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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"}}]},"last_synced_at":"2025-08-17T00:15:21.062Z","repository_id":57625339,"created_at":"2025-08-17T00:15:21.062Z","updated_at":"2025-08-17T00:15:21.062Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31314153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"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":["cli","git","git-tag","git-tags","go","golang","semantic","semantic-versioning","util"],"created_at":"2024-11-14T03:26:56.471Z","updated_at":"2026-04-02T19:13:44.475Z","avatar_url":"https://github.com/arran4.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-tag-inc\n\nIncrements the version number and tags it. (You will need to push)\n\n# Usage\n\n```\n./git-tag-inc [--allow-backwards] [--skip-forwards] [major[\u003cn\u003e]] [minor[\u003cn\u003e]] [patch[\u003cn\u003e]] [release[\u003cn\u003e]] [alpha|beta|rc|next[\u003cn\u003e]] [test|uat[\u003cn\u003e]]\n--version [--print-version-only]\n```\n\nUse `--version` to display build information and credits.\nUse `--print-version-only` to output the next version without tagging.\n\n`--mode arraneous` switches to the legacy naming (patch becomes `release`).\n\nNumeric suffixes can be added to any command to set a specific counter. For example,\n`test5` produces `-test5`, `rc02` produces `-rc02` and `major3` moves directly to\n`v3.0.0`. When a numeric suffix would decrease a counter compared to the previous tag\nthe command fails unless either `--allow-backwards` is provided or `--skip-forwards`\nis used. `--allow-backwards` applies the requested number directly, while\n`--skip-forwards` automatically bumps the patch component first so the resulting tag\nstill increases. For instance, `git-tag-inc --skip-forwards test2` upgrades\n`v1.0.0-test3` to `v1.0.1-test2`.\n\n## git-tag-inc then, one or more of:\n* `major        =\u003e v0.0.1-test1 =\u003e v1.0.0`\n* `minor        =\u003e v0.0.1-test1 =\u003e v0.1.0`\n* `patch        =\u003e v0.0.1-test1 =\u003e v0.0.2`\n* `release      =\u003e v0.0.1-test1 =\u003e v0.0.1-test2`\n* `release      =\u003e v0.0.1 =\u003e v0.0.1.1`\n* `test         =\u003e v0.0.1-test1 =\u003e v0.0.1-test2`\n* `uat          =\u003e v0.0.1-uat1  =\u003e v0.0.1-uat2`\n* `alpha        =\u003e v0.0.1-alpha1 =\u003e v0.0.1-alpha2`\n* `beta         =\u003e v0.0.1-beta1  =\u003e v0.0.1-beta2`\n* `rc           =\u003e v0.0.1-rc1    =\u003e v0.0.1-rc2`\n* `next         =\u003e v0.0.1-next1  =\u003e v0.0.1-next2`\n* `rc5          =\u003e v0.0.1-rc1    =\u003e v0.0.1-rc5`\n* `major4       =\u003e v0.0.1        =\u003e v4.0.0`\n\n## Combinations work:\n* `patch test   =\u003e v0.0.1-test1 =\u003e v0.1.0-test1`\n* `patch rc2    =\u003e v0.1.0-rc4  =\u003e v0.1.1-rc2`\n\n## Preventing backwards moves:\n* `test1` (when the last tag was `test3`) errors unless `--allow-backwards` is supplied.\n* `--skip-forwards test1` turns the same command into `vX.Y.(Z+1)-test1` automatically.\n\n```bash\n$ git-tag-inc --allow-backwards test2\n# v1.0.0-test3 -\u003e v1.0.0-test2\n$ git-tag-inc --skip-forwards test2\n# v1.0.0-test3 -\u003e v1.0.1-test2\n$ git-tag-inc --allow-backwards major1\n# v3.0.0 -\u003e v1.0.0\n$ git-tag-inc --skip-forwards release2\n# v1.2.3-test3.5 -\u003e v1.2.4.2\n```\n\n## Duplications don't:\n* `test test    =\u003e v0.0.1-test1 =\u003e v0.0.1-test2`\n\n# Install\n\nYou can use the packages provided. Put them in your `$PATH` or `%path%` depending on OS. You can also use:\n```\n$ go install github.com/arran4/git-tag-inc\n```\n\n# GitHub Action\n\nYou can use the [git-tag-inc-action](https://github.com/arran4/git-tag-inc-action) GitHub Action in your workflows.\n\n## Usage\n\n```yaml\nname: Example workflow\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Use git-tag-inc Action\n        uses: arran4/git-tag-inc-action@v1\n        with:\n          # Optional: specify an action\n          action: 'patch'\n```\n\n# Example:\n\n```\n$ git-tag-inc.exe test\nLargest: v0.0.1-test1\nCreating v0.0.1-test2\n\n$ git-tag-inc.exe uat\nLargest: v0.0.1-test2\nCreating v0.0.1-uat2\n\n$ git-tag-inc.exe uat\nLargest: v0.0.1-uat2\nCreating v0.0.1-uat3\n\n$ git-tag-inc.exe test\nLargest: v0.0.1-uat3\nCreating v0.0.1-test4\n\n$ git-tag-inc.exe minor\nLargest: v0.0.1-test4\nCreating v0.1.0\n\n$ git-tag-inc.exe minor test\nLargest: v0.1.0\nCreating v0.2.0-test01\n\n$ git-tag-inc.exe minor major test\nLargest: v0.2.0-test1\nCreating v1.1.0-test01\n\n$ git-tag-inc.exe patch\nLargest: v1.1.0-test1\nCreating v1.1.1\n\n$ git-tag-inc.exe release\nLargest: v1.1.1-test1\nCreating v1.1.1-test1.1\n\n$ git-tag-inc.exe --skip-forwards test2\nLargest: v1.1.1-test3\nCreating v1.1.2-test2\n```\n\n## Manual page\n\nThe repository contains a pre-built manual at `man/git-tag-inc.1`.\nIf you install `go-md2man` you can regenerate it from the Markdown source:\n\n```bash\ngo-md2man -in=man/git-tag-inc.md -out=man/git-tag-inc.1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farran4%2Fgit-tag-inc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farran4%2Fgit-tag-inc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farran4%2Fgit-tag-inc/lists"}