{"id":15765131,"url":"https://github.com/technote-space/release-github-actions-cli","last_synced_at":"2025-06-18T19:36:58.869Z","repository":{"id":37002203,"uuid":"209262308","full_name":"technote-space/release-github-actions-cli","owner":"technote-space","description":"CLI tool of Release GitHub Actions","archived":false,"fork":false,"pushed_at":"2023-02-21T15:25:37.000Z","size":38503,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-05T12:24:38.193Z","etag":null,"topics":["cli","github-actions","release"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/technote-space.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://paypal.me/technote0space"}},"created_at":"2019-09-18T08:50:27.000Z","updated_at":"2023-03-12T09:35:36.000Z","dependencies_parsed_at":"2024-06-21T05:56:29.066Z","dependency_job_id":null,"html_url":"https://github.com/technote-space/release-github-actions-cli","commit_stats":{"total_commits":383,"total_committers":3,"mean_commits":"127.66666666666667","dds":0.4934725848563969,"last_synced_commit":"024692b477a1738bd675943acf5174ef1ae1341e"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Frelease-github-actions-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Frelease-github-actions-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Frelease-github-actions-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Frelease-github-actions-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technote-space","download_url":"https://codeload.github.com/technote-space/release-github-actions-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223849432,"owners_count":17213640,"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":["cli","github-actions","release"],"created_at":"2024-10-04T12:24:42.844Z","updated_at":"2024-11-09T16:02:35.586Z","avatar_url":"https://github.com/technote-space.png","language":"TypeScript","funding_links":["https://paypal.me/technote0space"],"categories":[],"sub_categories":[],"readme":"# Release GitHub Actions CLI\n\n[![CI Status](https://github.com/technote-space/release-github-actions-cli/workflows/CI/badge.svg)](https://github.com/technote-space/release-github-actions-cli/actions)\n[![codecov](https://codecov.io/gh/technote-space/release-github-actions-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/technote-space/release-github-actions-cli)\n[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/release-github-actions-cli/badge)](https://www.codefactor.io/repository/github/technote-space/release-github-actions-cli)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/release-github-actions-cli/blob/master/LICENSE)\n\n*Read this in other languages: [English](README.md), [日本語](README.ja.md).*\n\n[Release GitHub Actions](https://github.com/technote-space/release-github-actions) の CLIツール\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eDetails\u003c/summary\u003e\n\n- [スクリーンショット](#%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88)\n- [使用方法](#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95)\n  - [package で使用](#package-%E3%81%A7%E4%BD%BF%E7%94%A8)\n  - [グローバルで使用](#%E3%82%B0%E3%83%AD%E3%83%BC%E3%83%90%E3%83%AB%E3%81%A7%E4%BD%BF%E7%94%A8)\n- [Args](#args)\n  - [必須](#%E5%BF%85%E9%A0%88)\n  - [オプション](#%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3)\n- [設定](#%E8%A8%AD%E5%AE%9A)\n  - [OWNER](#owner)\n  - [REPO](#repo)\n  - [INPUTS](#inputs)\n- [Author](#author)\n\n\u003c/details\u003e\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## スクリーンショット\n![Cli](https://github.com/technote-space/release-github-actions-cli/raw/images/cli.gif)\n\n## 使用方法\n### package で使用\n1. インストール\n    ```shell script\n    yarn add --dev @technote-space/release-github-actions-cli\n    ```\n1. コマンド実行\n    ```shell script\n    yarn release-ga --token \u003ctoken\u003e -t \u003ctag\u003e\n    ```\n\n    ヘルプ表示\n    \n    ```shell script\n    yarn release-ga -h\n    ```\n\n### グローバルで使用\n1. インストール\n    ```shell script\n    yarn global add @technote-space/release-github-actions-cli\n    ```\n1. コマンド実行\n    ```shell script\n    release-ga --token \u003ctoken\u003e -p \u003cpackage dir\u003e -t \u003ctag\u003e\n    ```\n\n    ヘルプ表示\n    \n    ```shell script\n    release-ga -h\n    ```\n\n## Args\n### 必須\n#### token\n[personal access token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)\n\n例：\n```\n--token 1234567890\n```\n\n`token` が書かれた `.env` ファイルを用意している場合は不要です。  \n例：\n```dotenv\ntoken=1234567890\n```\n\n#### tag\n[detail](https://github.com/technote-space/release-github-actions#condition)\n\n例： \n```\n--tag v1.2.3\n```\n\n```\n-t v1.2.3\n```\n\n[`test`](#test) オプションを設定している場合は不要です。\n\n### オプション\n#### branch\nビルドに使用するブランチ名  \nこのオプションが指定されていない場合、現在のソースコードが使用されます。\n\n例：\n```\n--branch release/v1.2.3\n```\n\n```\n-b release/v1.2.3\n```\n\n#### dry run\nプッシュしないかどうか\n\n例：\n```\n--dry-run\n```\n\n```\n-n\n```\n\n#### package file directory\n`package.json` ファイルのあるディレクトリ\n\n例：\n```\n--package /tmp/test-repo\n```\n\n```\n-p /tmp/test-repo\n```\n\n#### test\nテストモード\n\nタグ名は最新のタグから決まります。  \nテスト用タグプリフィックスに `test/` が設定されます。\n\n## 設定\n`Release GitHub Actions CLI` は `.releasegarc`, `.releasegarc.json`, `.releasegarc.js`, `.releasega.config.js` または `package.json` の `releasega` プロパティで設定できます。\n\n例： `.releasegarc`\n```json\n{\n  \"owner\": \"test-owner\",\n  \"repo\": \"test-repo\",\n  \"inputs\": {\n    \"test-tag-prefix\": \"test/\",\n    \"fetch-depth\": \"5\"\n  }\n}\n```\n\n例： `package.json`\n```json\n{\n  \"name\": \"test\",\n  \"version\": \"1.0.0\",\n  \"repository\": {\n  },\n  \"dependencies\": {\n  },\n  \"releasega\": {\n    \"owner\": \"test-owner\",\n    \"repo\": \"test-repo\",\n    \"inputs\": {\n      \"test-tag-prefix\": \"test/\",\n      \"fetch-depth\": \"5\"\n    }\n  }\n}\n```\n\n### OWNER\nOwner を指定するために使用します。  \ndefault: `package.json` 内のURLから検出します\n\n### REPO\nRepo を指定するために使用します。  \ndefault: `package.json` 内のURLから検出します。\n\n### INPUTS\nアクションの inputs を設定します。  \n[action.yml](https://github.com/technote-space/release-github-actions/blob/master/action.yml)  \n\n例：\n```json\n{\n  \"inputs\": {\n    \"commit message\": \"test message\",\n    \"commit-name\": \"test name\",\n    \"COMMIT_EMAIL\": \"test@example.com\"\n  }\n}\n```\n\n## Author\n[GitHub (Technote)](https://github.com/technote-space)  \n[Blog](https://technote.space)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Frelease-github-actions-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnote-space%2Frelease-github-actions-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Frelease-github-actions-cli/lists"}