{"id":17681584,"url":"https://github.com/phawk/cap-git-tags","last_synced_at":"2025-05-12T23:12:05.378Z","repository":{"id":14723991,"uuid":"17444668","full_name":"phawk/cap-git-tags","owner":"phawk","description":"Auto tags staging deploys, deploys last staging tag to production with a tag","archived":false,"fork":false,"pushed_at":"2015-07-22T13:16:50.000Z","size":252,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T21:41:59.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"wcggit/lepaygloble","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phawk.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-05T15:14:57.000Z","updated_at":"2016-05-20T18:34:47.000Z","dependencies_parsed_at":"2022-08-31T13:02:18.709Z","dependency_job_id":null,"html_url":"https://github.com/phawk/cap-git-tags","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fcap-git-tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fcap-git-tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fcap-git-tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fcap-git-tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phawk","download_url":"https://codeload.github.com/phawk/cap-git-tags/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837459,"owners_count":21971984,"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","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":[],"created_at":"2024-10-24T09:11:35.602Z","updated_at":"2025-05-12T23:12:05.358Z","avatar_url":"https://github.com/phawk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cap-git-tags\n\n## What is it?\n\nThis is a capistrano 3 plugin for auto tagging your git deploys.\n\n## Installation\n\nIn a gemfile:\n\n```ruby\ngem 'cap-git-tags', require: false\n```\n\nIn your *Capfile*:\n\n```ruby\nrequire 'capistrano/git-tags'\n```\n\n* * *\n\n## Usage\n\n### When you deploy to staging\n\nYou are prompted for a deploy note of what you have just changed, from this a staging tag is created:\n\n    # We replace all non alpha-numeric characters in your notes with a '-'\n    staging-YYYY-MM-DD-HH-mm-your-release-notes\n\n### When you deploy to production\n\nWe lookup the latest staging tag in your git repo and go to deploy.\n**You are prompted to confirm the deploy first**\n\nWe then create a new tag switching out the *staging* keyword for *prodution*.\n\n### Overriding the production deploy tag/branch\n\nIf you set an environment variable **TAG** we'll use that for your production deploy e.g.\n\n```sh\n$ TAG=old_staging_release_tag cap production deploy\n```\n\n* * *\n\nCopyright (c) 2014 Pete Hawkins, Adrian Dugan\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphawk%2Fcap-git-tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphawk%2Fcap-git-tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphawk%2Fcap-git-tags/lists"}