リリースの作成
-
GitHub Enterprise Serverで、リポジトリのメインページにアクセスしてください。
-
ファイルのリストの右で、Releases(リリース)もしくはLatest release(最新のリリース)をクリックしてください。

-
[Draft a new release] をクリックします。

-
Type a version number for your release. Alternatively, select an existing tag.

-
If you have created a new tag, use the drop-down menu to select the branch that contains the project you want to release.

-
リリースのタイトルと説明を入力します。

-
オプションで、コンパイルされたプログラムなどのバイナリファイルをリリースに含めるには、ドラッグアンドドロップするかバイナリボックスで手動で選択します。

-
リリースが不安定であり、運用準備ができていないことをユーザに通知するには、[This is a pre-release] を選択します。

-
リリースを公開する準備ができている場合は、[Publish release] をクリックします。 リリースの作業を後でする場合は、[Save draft] をクリックします。
![[Publish release] と [Save draft] ボタン](https://github.github.com/docs-ghes-2.22/assets/images/help/releases/release_buttons.png)
To learn more about GitHub CLI, see "About GitHub CLI."
-
To create a release, use the
gh release createsubcommand. Replacetagwith the desired tag for the release.gh release create tag -
Follow the interactive prompts. Alternatively, you can specify arguments to skip these prompts. For more information about possible arguments, see the GitHub CLI manual. For example, this command creates a prerelease with the specified title and notes.
gh release create v1.3.2 --title "v1.3.2 (beta)" --notes "this is a beta release" --prerelease
リリースの編集
- GitHub Enterprise Serverで、リポジトリのメインページにアクセスしてください。
- ファイルのリストの右で、Releases(リリース)もしくはLatest release(最新のリリース)をクリックしてください。

- ページの右側で、編集するリリースの横にある [Edit release] をクリックします。

- Edit the details for the release in the form, then click Update release.

Releases cannot currently be edited with GitHub CLI.
リリースの削除
- GitHub Enterprise Serverで、リポジトリのメインページにアクセスしてください。
- ファイルのリストの右で、Releases(リリース)もしくはLatest release(最新のリリース)をクリックしてください。

- 削除するリリースの名前をクリックします。

- ページの右上にある [Delete] をクリックします。

- [Delete this release] をクリックします。

-
To delete a release, use the
gh release deletesubcommand. Replacetagwith the tag of the release to delete. Use the-yflag to skip confirmation.gh release delete tag -y