{"id":18338746,"url":"https://github.com/tableflip/tars","last_synced_at":"2025-04-09T20:35:48.108Z","repository":{"id":72911192,"uuid":"53932921","full_name":"tableflip/tars","owner":"tableflip","description":":shipit: TABLEFLIP Automated Release System","archived":false,"fork":false,"pushed_at":"2017-11-08T16:27:49.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T12:46:45.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tableflip.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":"2016-03-15T09:51:04.000Z","updated_at":"2017-11-09T19:57:51.000Z","dependencies_parsed_at":"2023-05-26T01:15:13.609Z","dependency_job_id":null,"html_url":"https://github.com/tableflip/tars","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/tars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248108348,"owners_count":21049116,"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-11-05T20:15:04.296Z","updated_at":"2025-04-09T20:35:48.088Z","avatar_url":"https://github.com/tableflip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TARS\n\nTABLEFLIP Automated Release System.\n\n## Getting started\n\n1. Install Node.js\n2. Install dependencies `npm install`\n3. (Optional) Add builder config file `.tarsrc` (defaults below):\n\n    ```js\n    {\n      webhook: {\n        path: '/webhook',\n        secret: '(╯°□°）╯︵TABLEFLIP',\n        port: 7777\n      },\n      release: {\n        dir: './release',\n        branch: 'gh-pages', // Restrict releases to tags on the specified branch\n      }\n    }\n    ```\n4. Start the webhook `npm start`\n\n## Configure a site to be released\n\n1. Navigate to **Settings** for the repo\n2. In **Collaborators**, add `tableflip-tars` as a collaborator with **read** access\n3. in **Webhooks \u0026 services** add a new webhook with the following info:\n    * Payload URL: `http://tars.tableflip.io:7777/webhook`\n    * Content type: `application/json`\n    * Secret: **Retrieve from secrets.yaml for tars-infrastructure project**\n    * Event: **Create** (Branch or tag created)\n\n## Programmatic usage\n\n**release.js**\n```js\nconst release = require('./release')\n\nconst repo = 'git@github.com:tableflip/tableflip-www.git'\nconst tag = 'v1.0.1'\nconst opts = {stdout: process.stdout, stderr: process.stderr}\n\nrelease(repo, tag, opts, (err, info) =\u003e {\n  console.log(`Released in ${info.dir}`)\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Ftars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Ftars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Ftars/lists"}