Tip: You can also manage releases using the GitHub CLI. For more information, see "gh release
" in the GitHub CLI documentation.
Creating a release
-
On GitHub Enterprise Server, navigate to the main page of the repository.
-
Under your repository name, click Releases.
-
Click Draft a new release.
-
Type a version number for your release. Versions are based on Git tags. We recommend naming tags that fit within semantic versioning.
-
Use the drop-down menu to select the branch that contains the project you want to release.
-
Type a title and description for your release.
-
Optionally, to include binary files such as compiled programs in your release, drag and drop or manually select files in the binaries box.
-
To notify users that the release is not ready for production and may be unstable, select This is a pre-release.
-
If you're ready to publicize your release, click Publish release. To work on the release later, click Save draft.
You can also automatically create a release from the command line or in a script. For more information, see "Releases."
Editing a release
-
On GitHub Enterprise Server, navigate to the main page of the repository.
-
Under your repository name, click Releases.
-
On the right side of the page, next to the release you want to edit, click Edit release.
-
Edit the details for the release in the form, then click Update release.
Deleting a release
You must remove all binary files attached to a release before you can delete a release.
-
On GitHub Enterprise Server, navigate to the main page of the repository.
-
Under your repository name, click Releases.
-
Click the name of the release you wish to delete.
-
In the upper-right corner of the page, click Delete.
-
Click Delete this release.