Creating a release
-
En tu instancia de GitHub Enterprise Server, visita la página principal del repositorio.
-
A la derecha de la lista de archivos, haz clic en Lanzamientos.
-
Click 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.
-
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.
Para aprender más sobre el CLI de GitHub, consulta la sección "Acerca del CLI de GitHub".
-
To create a release, use the
gh release create
subcommand. Replacetag
with 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 CLI de GitHub 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
Editing a release
-
En tu instancia de GitHub Enterprise Server, visita la página principal del repositorio.
-
A la derecha de la lista de archivos, haz clic en Lanzamientos.
-
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.
Releases cannot currently be edited with CLI de GitHub.
Deleting a release
-
En tu instancia de GitHub Enterprise Server, visita la página principal del repositorio.
-
A la derecha de la lista de archivos, haz clic en Lanzamientos.
-
Click the name of the release you wish to delete.
-
In the upper-right corner of the page, click Delete.
-
Click Delete this release.
-
To delete a release, use the
gh release delete
subcommand. Replacetag
with the tag of the release to delete. Use the-y
flag to skip confirmation.gh release delete tag -y