{"id":42493571,"url":"https://github.com/xorcare/go-mod-bump","last_synced_at":"2026-01-28T12:32:55.814Z","repository":{"id":221039700,"uuid":"752743192","full_name":"xorcare/go-mod-bump","owner":"xorcare","description":"Script to elegantly update direct Go modules in separate commit","archived":false,"fork":false,"pushed_at":"2025-09-14T06:37:41.000Z","size":26,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-14T08:31:48.136Z","etag":null,"topics":["autoupdater","go","go-mod-bump","go-mod-update","go-modules","golang","golang-modules","script","scritps"],"latest_commit_sha":null,"homepage":"https://xorcare.ru/s/d5184","language":"Shell","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/xorcare.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":"2024-02-04T17:25:00.000Z","updated_at":"2025-09-14T06:36:51.000Z","dependencies_parsed_at":"2024-02-08T22:08:27.780Z","dependency_job_id":"d3c94bc6-7bf0-4c55-993d-9ea9b437d3ee","html_url":"https://github.com/xorcare/go-mod-bump","commit_stats":null,"previous_names":["xorcare/go-mod-bump"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/xorcare/go-mod-bump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorcare%2Fgo-mod-bump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorcare%2Fgo-mod-bump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorcare%2Fgo-mod-bump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorcare%2Fgo-mod-bump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xorcare","download_url":"https://codeload.github.com/xorcare/go-mod-bump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorcare%2Fgo-mod-bump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: 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":["autoupdater","go","go-mod-bump","go-mod-update","go-modules","golang","golang-modules","script","scritps"],"created_at":"2026-01-28T12:32:55.044Z","updated_at":"2026-01-28T12:32:55.790Z","avatar_url":"https://github.com/xorcare.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-mod-bump\n\nScript to elegantly update direct Go modules in separate commits.\n\nAutomatically updates dependencies similar to `go get -u`, but commits the update to each direct\nmodule in a separate commit.\n\n## How to install\n\n```shell\nmkdir -p ~/bin\ncurl https://raw.githubusercontent.com/xorcare/go-mod-bump/main/go-mod-bump.sh --output ~/bin/go-mod-bump\nchmod +x ~/bin/go-mod-bump\n```\n\nAfter that don't forget to add the `~/bin` directory to the `$PATH` variable.\nUse one of the following commands to do this:\n\n```shell\necho 'export PATH=\"$PATH:$HOME/bin\"' \u003e\u003e ~/.bashrc\n# Or\necho 'export PATH=\"$PATH:$HOME/bin\"' \u003e\u003e ~/.zshrc\n```\n\nIf you know a better way use it or let me know I will update the documentation.\n\n## How to use\n\nFor update all direct models, use:\n\n```shell\ngo-mod-bump all\n```\n\nFor update one specific direct module, specify its name. For example:\n\n```shell\ngo-mod-bump github.com/xorcare/pointer\n```\n\nFor update multiple direct modules, specify their names. For example:\n\n```shell\ngo-mod-bump github.com/xorcare/pointer github.com/xorcare/tornado\n```\n\nAlso, you can add custom prefix for git message. For example:\n\n```shell\ngo-mod-bump -p 'build(deps): ' all\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003eGit log with message prefix example\u003c/summary\u003e\n\n    build(deps): Bump github.com/xorcare/pointer from v1.0.0 to v1.1.1\n    build(deps): Bump github.com/xorcare/tornado from v0.1.0 to v0.1.1\n    build(deps): Bump github.com/xorcare/golden from v0.6.0 to v0.8.2\n\n\u003c/details\u003e\n\n## Thank you for your support\n\nIf you found this project useful, please support it by giving it a star\non [GitHub](https://github.com/xorcare/go-mod-bump).\nThis will help other users discover the project and will motivate me to continue developing it!\nThank you for your support!\n\n## Know issues and limitations\n\n- The script does not know how to work with `replace` directive, if it is used in your project be\n  careful and do not forget to update dependencies manually.\n- Pipelines are not supported, you cannot use go-mod-bump in combination with `|`.\n- The script runs very slowly on projects with a lot of dependencies.\n- The script does not abort execution if a module fails to update. It will try to update other\n  modules if possible.\n\n## Disclaimer\n\nWhen using this script, you should be aware that it propagates changes to the Git history. In some\ncases, you may lose all your uncommitted changes forever.\n\n## Examples of output\n\n\u003cdetails\u003e\n    \u003csummary\u003eLog with all modules updated successfully\u003c/summary\u003e\n\n    go-mod-bump: upgraded github.com/xorcare/pointer v1.0.0 =\u003e [v1.1.1]\n    go-mod-bump: upgraded github.com/xorcare/tornado v0.1.0 =\u003e [v0.1.1]\n    go-mod-bump: upgraded github.com/xorcare/golden v0.6.0 =\u003e [v0.8.2]\n    go-mod-bump: upgraded golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 =\u003e [v0.18.0]\n    go-mod-bump: upgraded golang.org/x/lint v0.0.0-20200302205851-738671d3881b =\u003e\n    [v0.0.0-20210508222113-6edffad5e616]\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eLog with on module update failed\u003c/summary\u003e\n\n    go-mod-bump: failed to update module github.com/xorcare/golden\n    v0.0.0-20180918085934-3c96afc26e10 to v0.0.0-20200320164324-52e96869b7ff\n    try to update module manually using commands:\n    go get github.com/xorcare/golden@v0.0.0-20180918085934-3c96afc26e10\n    go mod tidy\n    go build ./...\n    go-mod-bump: upgraded github.com/xorcare/tornado v0.1.0 =\u003e [v0.1.1]\n    go-mod-bump: upgraded github.com/xorcare/pointer v1.0.0 =\u003e [v1.1.1]\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eGit log example\u003c/summary\u003e\n\n    Bump github.com/xorcare/pointer from v1.0.0 to v1.1.1\n    Bump github.com/xorcare/tornado from v0.1.0 to v0.1.1\n    Bump github.com/xorcare/golden from v0.6.0 to v0.8.2\n    Bump golang.org/x/crypto from v0.0.0-20191011191535-87dc89f01550 to v0.18.0\n    Bump golang.org/x/lint from v0.0.0-20200302205851-738671d3881b to\n    v0.0.0-20210508222113-6edffad5e616\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxorcare%2Fgo-mod-bump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxorcare%2Fgo-mod-bump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxorcare%2Fgo-mod-bump/lists"}