Skip to content

Commit a2f7d47

Browse files
authored
Merge pull request #21486 from github/repo-sync
repo sync
2 parents 5898077 + 2099b5d commit a2f7d47

File tree

3 files changed

+44
-18
lines changed

3 files changed

+44
-18
lines changed
13.1 KB
Loading

content/repositories/releasing-projects-on-github/managing-releases-in-a-repository.md

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shortTitle: Manage releases
2222
---
2323
## About release management
2424

25-
You can create new releases with release notes, @mentions of contributors, and links to binary files, as well as edit or delete existing releases.
25+
You can create new releases with release notes, @mentions of contributors, and links to binary files, as well as edit or delete existing releases. You can also create, modify, and delete releases by using the Releases API. For more information, see "[Releases](/rest/releases/releases)" in the REST API documentation.
2626

2727
{% ifversion fpt or ghec %}
2828
You can also publish an action from a specific release in {% data variables.product.prodname_marketplace %}. For more information, see "[Publishing an action in the {% data variables.product.prodname_marketplace %}](/actions/creating-actions/publishing-actions-in-github-marketplace)."
@@ -36,43 +36,62 @@ You can choose whether {% data variables.large_files.product_name_long %} ({% da
3636

3737
{% data reusables.repositories.navigate-to-repo %}
3838
{% data reusables.repositories.releases %}
39-
3. Click **Draft a new release**.
39+
1. Click **Draft a new release**.
4040

4141
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}![Releases draft button](/assets/images/help/releases/draft-release-button-with-search.png){% else %}![Releases draft button](/assets/images/help/releases/draft_release_button.png){% endif %}
42-
4. {% ifversion fpt or ghec or ghes > 3.2 or ghae %}Click **Choose a tag**, type{% else %}Type{% endif %} a version number for your release{% ifversion fpt or ghec or ghes > 3.2 or ghae %}, and press **Enter**{% endif %}. Alternatively, select an existing tag.
42+
1. {% ifversion fpt or ghec or ghes > 3.2 or ghae %}Click **Choose a tag**, type{% else %}Type{% endif %} a version number for your release{% ifversion fpt or ghec or ghes > 3.2 or ghae %}, and press **Enter**{% endif %}. Alternatively, select an existing tag.
4343

4444
{% ifversion fpt or ghec or ghes > 3.2 or ghae %}![Enter a tag](/assets/images/help/releases/releases-tag-create.png)
45-
5. If you are creating a new tag, click **Create new tag**.
45+
1. If you are creating a new tag, click **Create new tag**.
4646

47-
![Confirm you want to create a new tag](/assets/images/help/releases/releases-tag-create-confirm.png)
47+
![Screenshot of confirming you want to create a new tag](/assets/images/help/releases/releases-tag-create-confirm.png)
4848
{% else %}
49-
![Releases tagged version](/assets/images/enterprise/releases/releases-tag-version.png)
49+
![Screenshot of the Releases tagged version](/assets/images/enterprise/releases/releases-tag-version.png)
5050
{% endif %}
51-
5. If you have created a new tag, use the drop-down menu to select the branch that contains the project you want to release.
51+
1. If you have created a new tag, use the drop-down menu to select the branch that contains the project you want to release.
52+
53+
{% ifversion fpt or ghec or ghes > 3.2 or ghae %}
54+
![Screenshot of dropdown to choose a branch](/assets/images/help/releases/releases-choose-branch.png)
55+
56+
{% else %}
57+
![Screenshot of the Releases tagged branch](/assets/images/enterprise/releases/releases-tag-branch.png){% endif %}
5258

53-
{% ifversion fpt or ghec or ghes > 3.2 or ghae %}![Choose a branch](/assets/images/help/releases/releases-choose-branch.png)
54-
{% else %}![Releases tagged branch](/assets/images/enterprise/releases/releases-tag-branch.png){% endif %}
5559
{%- data reusables.releases.previous-release-tag %}
56-
6. Type a title and description for your release.
60+
1. Type a title and description for your release.
5761
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
5862
If you @mention anyone in the description, the published release will include a **Contributors** section with an avatar list of all the mentioned users.
5963
{%- endif %}
6064
{% ifversion fpt or ghec or ghes > 3.3 %} Alternatively, you can automatically generate your release notes by clicking {% ifversion previous-release-tag %}**Generate release notes**{% else %}**Auto-generate release notes**{% endif %}.{% endif %}{% ifversion previous-release-tag %}
61-
![Releases description](/assets/images/help/releases/releases_description_auto.png){% else %}
62-
![Releases description](/assets/images/enterprise/3.5/releases/releases_description_auto.png){% endif %}
65+
66+
![Screenshot of the releases description](/assets/images/help/releases/releases_description_auto.png){% else %}
67+
68+
![Screenshot of the releases description](/assets/images/enterprise/3.5/releases/releases_description_auto.png){% endif %}
69+
6370
1. Optionally, to include binary files such as compiled programs in your release, drag and drop or manually select files in the binaries box.
64-
![Providing a DMG with the Release](/assets/images/help/releases/releases_adding_binary.gif)
65-
2. To notify users that the release is not ready for production and may be unstable, select **This is a pre-release**.
66-
![Checkbox to mark a release as prerelease](/assets/images/help/releases/prerelease_checkbox.png)
71+
72+
![Animated GIF of Providing a DMG with the Release](/assets/images/help/releases/releases_adding_binary.gif)
73+
74+
1. To notify users that the release is not ready for production and may be unstable, select **This is a pre-release**.
75+
76+
![Screenshot of the checkbox to mark a release as prerelease](/assets/images/help/releases/prerelease_checkbox.png)
77+
78+
{%- ifversion releases-set-latest-release %}
79+
1. Optionally, you can select **Set as latest release**. If you do not select this option, the latest release label will automatically be assigned based on semantic versioning.
80+
81+
![Screenshot of the checkbox to mark a release as the latest release](/assets/images/help/releases/latest-release-checkbox.png)
82+
83+
{%- endif %}
6784
{%- ifversion discussions %}
6885
1. Optionally, if {% data variables.product.prodname_discussions %} are enabled in the repository, select **Create a discussion for this release**, then select the **Category** drop-down menu and click a category for the release discussion.
69-
![Checkbox to create a release discussion and drop-down menu to choose a category](/assets/images/help/releases/create-release-discussion.png)
86+
87+
![Screenshot of the checkbox to create a release discussion and drop-down menu to choose a category](/assets/images/help/releases/create-release-discussion.png)
88+
7089
{%- endif %}
71-
9. If you're ready to publicize your release, click **Publish release**. To work on the release later, click **Save draft**.
90+
1. If you're ready to publicize your release, click **Publish release**. To work on the release later, click **Save draft**.
7291
![Publish release and Draft release buttons](/assets/images/help/releases/release_buttons.png)
7392

7493
{%- ifversion fpt or ghec or ghes > 3.2 or ghae > 3.3 %}
75-
You can then view your published or draft releases in the releases feed for your repository. For more information, see "[Viewing your repository's releases and tags](/github/administering-a-repository/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags)."
94+
You can then view your published or draft releases in the releases feed for your repository. For more information, see "[Screenshot of your repository's releases and tags](/github/administering-a-repository/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags)."
7695

7796
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.3 %}
7897
![Published release with @mentioned contributors](/assets/images/help/releases/refreshed-releases-overview-with-contributors.png)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Reference: #8172.
2+
# Documentation for explicitly declarable latest release.
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '>=3.8'
7+
ghae: '>= 3.8'

0 commit comments

Comments
 (0)