{"id":25684809,"url":"https://github.com/gfaivre/git-shell-releaser","last_synced_at":"2026-05-04T17:36:21.360Z","repository":{"id":88630924,"uuid":"114222595","full_name":"gfaivre/git-shell-releaser","owner":"gfaivre","description":" Handle git cloning/mirroring and release build, 100% shell script.","archived":false,"fork":false,"pushed_at":"2017-12-27T09:29:23.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T17:51:14.610Z","etag":null,"topics":["deployment","git","linux","release","shell","unix"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfaivre.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}},"created_at":"2017-12-14T08:20:23.000Z","updated_at":"2017-12-21T16:16:24.000Z","dependencies_parsed_at":"2023-07-22T06:05:09.903Z","dependency_job_id":null,"html_url":"https://github.com/gfaivre/git-shell-releaser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gfaivre/git-shell-releaser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfaivre%2Fgit-shell-releaser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfaivre%2Fgit-shell-releaser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfaivre%2Fgit-shell-releaser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfaivre%2Fgit-shell-releaser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfaivre","download_url":"https://codeload.github.com/gfaivre/git-shell-releaser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfaivre%2Fgit-shell-releaser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32618201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["deployment","git","linux","release","shell","unix"],"created_at":"2025-02-24T17:46:26.106Z","updated_at":"2026-05-04T17:36:21.351Z","avatar_url":"https://github.com/gfaivre.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The releaser\nSimple shell script to handle git cloning/mirroring and release build\nThis script should be a part of a bigger deployment process, however you are free to do whatever you want with it ;)\n\n# Usage\n\nThe syntax of releaser is the following:\n\nreleaser.sh [args] repository URL\n\n* args are optional options for the Releaser. The available ones are :\n\t* --version  : Prints the version number on stdout, then exits immediately\n\t* --branch   : Specify a branch to build the release on (default master)\n    * --strategy : Change the way we create the local repository (clone or mirror, default is clone)\n    * --revision : Specify a revision to release\n    * --shallow  : Create a shallow clone with a history truncated to the specified number of commits\n* repository is a git repository URL\n\n## Here is an example, assuming we need to checkout a specific commit hash.\n\n`releaser.sh --branch my_awesome_branch --revision dd05c227116b349b1516386587130697796f09a0 git@github.com:gfaivre/git-shell-releaser.git`\n\nBy default **HEAD** of the branch will be checked out if no revision is specified.\nIf no branch is given, **master** branch is considered.\n\n## Example to checkout a shallow clone with truncated history.\n\n`releaser.sh --shallow 3 --branch my_awesome_branch git@github.com:gfaivre/git-shell-releaser.git`\n\n## Changing repository clone strategy\n\n`releaser.sh --strategy mirror --branch my_awesome_branch git@github.com:gfaivre/git-shell-releaser.git`\n\nScript will create the following arborescence containing the projects builds:\n\n```\napps\n├── .cached-copy\n│   └── project_name\n└── project_name\n```\n\nThe `.cached-copy` directory will store a clone or mirror of the targeted repository. The final release (for a branch and / or revision will be found inside the `project_name` directory.)\n\n# Licence\n\nReleaser is covered by the GNU General Public License (GPL) version 2 and above.\n\n# Contact\n\nAny enhancements and suggestions are welcome.\nFeel free to submit patches and bug reports on the (project page)[].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfaivre%2Fgit-shell-releaser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfaivre%2Fgit-shell-releaser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfaivre%2Fgit-shell-releaser/lists"}