{"id":45941690,"url":"https://github.com/mh-cbon/gump","last_synced_at":"2026-02-28T10:44:56.789Z","repository":{"id":57563240,"uuid":"60901803","full_name":"mh-cbon/gump","owner":"mh-cbon","description":"Bin util to bump your package using semver","archived":false,"fork":false,"pushed_at":"2017-09-07T18:08:21.000Z","size":21771,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T10:13:40.987Z","etag":null,"topics":["bump","golang","package","semver"],"latest_commit_sha":null,"homepage":"http://mh-cbon.github.io/gump/","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/mh-cbon.png","metadata":{"files":{"readme":"README.e.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-11T10:18:56.000Z","updated_at":"2020-06-24T04:55:05.000Z","dependencies_parsed_at":"2022-09-17T14:10:22.024Z","dependency_job_id":null,"html_url":"https://github.com/mh-cbon/gump","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/mh-cbon/gump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mh-cbon%2Fgump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mh-cbon%2Fgump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mh-cbon%2Fgump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mh-cbon%2Fgump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mh-cbon","download_url":"https://codeload.github.com/mh-cbon/gump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mh-cbon%2Fgump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29930468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bump","golang","package","semver"],"created_at":"2026-02-28T10:44:56.165Z","updated_at":"2026-02-28T10:44:56.780Z","avatar_url":"https://github.com/mh-cbon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# {{.Name}}\n\n{{template \"badge/travis\" .}}{{template \"badge/appveyor\" .}}{{template \"badge/goreport\" .}}{{template \"badge/godoc\" .}}\n\n{{pkgdoc \"gump.go\"}}\n\nThis tool is part of the [go-github-release workflow](https://github.com/mh-cbon/go-github-release)\n\n# {{toc 4}}\n\n# Install\n{{template \"gh/releases\" .}}\n\n#### Glide\n{{template \"glide/install\" .}}\n\n#### Bintray\n{{template \"choco_bintray/install\" .}}\n\n#### Chocolatey\n{{template \"choco/install\" .}}\n\n#### linux rpm/deb repository\n{{template \"linux/bintray_repo\" .}}\n\n#### linux rpm/deb standalone package\n{{template \"linux/gh_pkg\" .}}\n\n# Cli\n\n{{exec \"gump\" \"-help\" | color \"sh\"}}\n\n### Examples\n\n```sh\ngump patch -d\ngump prerelease -a -d\ngump prerelease -b -d\ngump minor -d\ngump major -d\n```\n\n# Bump script\n\n### Pre/Post version scripts\n\nGump can detect, parse and execute `pre/post` version scripts.\n\nThe file is written to be compatible for both `linux` and `windows`.\n\nThey are numerous hooks executed in this order :\n\n- __prebump__ : Runs in first for any type of update, it does not receive `!newversion!` tag.\nIt should be used to synchronize your local with remote.\n- __prepatch__ : Runs for a `patch` update.\n- __preminor__ : Runs for a `minor` update.\n- __premajor__ : Runs for a `major` update.\n- __preversion__ : Runs for a any type of update.\n- __version is set here on your vcs__\n- __postversion__ : Runs for a any type of update.\n- __postmajor__ : Runs for a `major` update.\n- __postminor__ : Runs for a `minor` update.\n- __postpatch__ : Runs for a `patch` update.\n- __postbump__ : Runs for a any type of update.\n\nIf any `pre` script returns an exit code different than `0`,\n the execution will stop and the version will remain untouched.\n\nIf `post` script fails, the version has already changed,\n`gump` will return an exit code = 1.\n\nScripts can use few special tags\n- `!newversion!` will be replaced by the value of the new version (not available in `prebump`)\n- `!tagmessage!` will be replaced by the value of the tag message\n- `!isprerelease!` will be replaced by `yes` when `--beta` or `--alpha`\narguments are present, otherwise it is replaced by the value `no`\n- `!isprerelease_int!` will be replaced by `1` when `--beta` or `--alpha`\narguments are present, otherwise it is replaced by the value `0`\n- `!isprerelease_bool!` will be replaced by `true` when `--beta` or `--alpha`\narguments are present, otherwise it is replaced by the value `false`\n\n### .version.sh\n\nDrop a file named `.version.sh` on your root such\n\n{{cat \".version.sh\" | color \"sh\"}}\n\n### .version\n\nDrop a file named `.version` on your root such\n\n{{cat \".version-demo\" | color \"sh\"}}\n\n#### glide.yaml\n\nAdd a new key `scripts` to your glide file such\n\n{{cat \"demo-glide.yaml\" | color \"sh\"}}\n\nIf you have longer scripts to run you can write it like this:\n\n{{cat \"demo-long-glide.yaml\" | color \"sh\"}}\n\n# Recipes\n\n### debug\n\nDeclare a new env `VERBOSE=gump` or `VERBOSE=*` to get more information.\n\n```sh\nVERBOSE=gump gump patch -d\nVERBOSE=* gump patch -d\n```\n\n\n### Release the project\n\n```sh\ngump patch -d # check\ngump patch # bump\n```\n\n# History\n\n[CHANGELOG](CHANGELOG.md)\n\n\n# Todos\n\n- at some point, probably, move to https://github.com/Masterminds/vcs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmh-cbon%2Fgump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmh-cbon%2Fgump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmh-cbon%2Fgump/lists"}