Skip to content

Commit 4217b9f

Browse files
authored
Merge pull request github#11304 from github/repo-sync
repo sync
2 parents ee87308 + a17262e commit 4217b9f

21 files changed

+77
-20
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
-22 KB
Loading
Loading
14.9 KB
Loading
5.92 KB
Loading

content/repositories/releasing-projects-on-github/about-releases.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ topics:
1919
---
2020
## About releases
2121

22-
{% ifversion fpt or ghes > 3.2 or ghae-issue-4972 or ghec %}
22+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
23+
![An overview of releases](/assets/images/help/releases/refreshed-releases-overview-with-contributors.png)
24+
{% elsif ghes > 3.2 or ghae-issue-4972 %}
2325
![An overview of releases](/assets/images/help/releases/releases-overview-with-contributors.png)
2426
{% else %}
2527
![An overview of releases](/assets/images/help/releases/releases-overview.png)

content/repositories/releasing-projects-on-github/automatically-generated-release-notes.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ communityRedirect:
1313
href: 'https://github.com/github/feedback/discussions/categories/releases-feedback'
1414
---
1515

16-
{% note %}
17-
18-
**Note:** {% data reusables.repositories.auto-gen-release-public-beta %}
19-
20-
{% endnote %}
21-
2216
## About automatically generated release notes
2317

2418
Automatically generated release notes provide an automated alternative to manually writing release notes for your {% data variables.product.prodname_dotcom %} releases. With automatically generated release notes, you can quickly generate an overview of the contents of a release. You can also customize your automated release notes, using labels to create custom categories to organize pull requests you want to include, and exclude certain labels and users from appearing in the output.

content/repositories/releasing-projects-on-github/comparing-releases.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ redirect_from:
1616
{% data reusables.repositories.navigate-to-repo %}
1717
{% data reusables.repositories.releases %}
1818
3. Next to the release you want to use as your base, click **Compare**.
19+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
20+
![Compare release tags menu](/assets/images/help/releases/refreshed-compare-tags.png)
21+
{% else %}
1922
![Compare release tags menu](/assets/images/help/releases/compare-tags-menu.png)
23+
{% endif %}
2024
4. Use the "Compare" drop-down menu and select the tags you want to compare.
25+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
26+
![Compare release tags menu](/assets/images/help/releases/refreshed-compare-tags-menu-options.png)
27+
{% else %}
2128
![Compare release tags menu options](/assets/images/help/releases/compare-tags-menu-options.png)
29+
{% endif %}

content/repositories/releasing-projects-on-github/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ children:
1616
- /about-releases
1717
- /managing-releases-in-a-repository
1818
- /viewing-your-repositorys-releases-and-tags
19+
- /searching-a-repositorys-releases
1920
- /linking-to-releases
2021
- /comparing-releases
2122
- /automatically-generated-release-notes

content/repositories/releasing-projects-on-github/linking-to-releases.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,16 @@ topics:
1515
---
1616
{% data reusables.repositories.navigate-to-repo %}
1717
{% data reusables.repositories.releases %}
18-
3. Find the release you want to link to and click the version number.
19-
![Releases tag information](/assets/images/help/releases/release_tag_name.png)
20-
3. Alternatively, right click **Latest Release** and copy the URL to share it. The suffix of this URL is always `/releases/latest`.
18+
3. To copy a unique URL to your clipboard, find the release you want to link to, right click the title, and copy the URL.
19+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
20+
![Release title](/assets/images/help/releases/release-title.png)
21+
{% else %}
22+
![Release title](/assets/images/help/releases/release-title-old.png)
23+
{% endif %}
24+
1. Alternatively, right click **Latest Release** and copy the URL to share it. The suffix of this URL is always `/releases/latest`.
25+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
26+
![Compare release tags menu](/assets/images/help/releases/refreshed-release-latest.png)
27+
{% else %}
2128
![Latest release tag](/assets/images/help/releases/release_latest_release_tag.png)
22-
29+
{% endif %}
2330
To link directly to a download of your latest release asset that was manually uploaded, link to `/owner/name/releases/latest/download/asset-name.zip`.

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

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ You can choose whether {% data variables.large_files.product_name_long %} ({% da
4242
{% data reusables.repositories.navigate-to-repo %}
4343
{% data reusables.repositories.releases %}
4444
3. Click **Draft a new release**.
45-
![Releases draft button](/assets/images/help/releases/draft_release_button.png)
46-
4. {% ifversion fpt or ghec %}Click **Choose a tag** and type{% else %}Type{% endif %} a version number for your release. Alternatively, select an existing tag.
45+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}![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 %}
46+
4. {% ifversion fpt or ghec %}Click **Choose a tag**, type{% else %}Type{% endif %} a version number for your release{% ifversion fpt or ghec %}, and press **Enter**{% endif %}. Alternatively, select an existing tag.
4747
{% ifversion fpt or ghec %}
4848
![Enter a tag](/assets/images/help/releases/releases-tag-create.png)
49-
1. If you are creating a new tag, click **Create new tag**.
49+
5. If you are creating a new tag, click **Create new tag**.
5050
![Confirm you want to create a new tag](/assets/images/help/releases/releases-tag-create-confirm.png)
5151
{% else %}
5252
![Releases tagged version](/assets/images/enterprise/releases/releases-tag-version.png)
@@ -56,7 +56,7 @@ You can choose whether {% data variables.large_files.product_name_long %} ({% da
5656
{% else %}![Releases tagged branch](/assets/images/enterprise/releases/releases-tag-branch.png)
5757
{% endif %}
5858
6. Type a title and description for your release.
59-
{%- ifversion fpt or ghes > 3.2 or ghae-issue-4972 %}
59+
{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4972 %}
6060
If you @mention any {% data variables.product.product_name %} users in the description, the published release will include a **Contributors** section with an avatar list of all the mentioned users.
6161
{%- endif %}
6262
{% ifversion fpt or ghec %} Alternatively, you can automatically generate your release notes by clicking **Auto-generate release notes**.
@@ -66,17 +66,21 @@ You can choose whether {% data variables.large_files.product_name_long %} ({% da
6666
![Providing a DMG with the Release](/assets/images/help/releases/releases_adding_binary.gif)
6767
8. To notify users that the release is not ready for production and may be unstable, select **This is a pre-release**.
6868
![Checkbox to mark a release as prerelease](/assets/images/help/releases/prerelease_checkbox.png)
69-
{%- ifversion fpt %}
70-
1. Optionally, select **Create a discussion for this release**, then select the **Category** drop-down menu and click a category for the release discussion.
69+
{%- ifversion fpt or ghec %}
70+
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.
7171
![Checkbox to create a release discussion and drop-down menu to choose a category](/assets/images/help/releases/create-release-discussion.png)
7272
{%- endif %}
7373
9. If you're ready to publicize your release, click **Publish release**. To work on the release later, click **Save draft**.
7474
![Publish release and Draft release buttons](/assets/images/help/releases/release_buttons.png)
7575

76-
{%- ifversion fpt or ghes > 3.2 or ghae-issue-4972 %}
76+
{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4972 or ghae-issue-4974 %}
7777
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)."
7878

79+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
80+
![Published release with @mentioned contributors](/assets/images/help/releases/refreshed-releases-overview-with-contributors.png)
81+
{% else %}
7982
![Published release with @mentioned contributors](/assets/images/help/releases/releases-overview-with-contributors.png)
83+
{% endif %}
8084
{%- endif %}
8185

8286
{% endwebui %}
@@ -110,9 +114,14 @@ If you @mention any {% data variables.product.product_name %} users in the notes
110114

111115
{% data reusables.repositories.navigate-to-repo %}
112116
{% data reusables.repositories.releases %}
117+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
118+
3. On the right side of the page, next to the release you want to edit, click {% octicon "pencil" aria-label="The edit icon" %}.
119+
![Edit a release](/assets/images/help/releases/edit-release-pencil.png)
120+
{% else %}
113121
3. On the right side of the page, next to the release you want to edit, click **Edit release**.
114122
![Edit a release](/assets/images/help/releases/edit-release.png)
115-
4. Edit the details for the release in the form, then click **Update release**.{% ifversion fpt or ghes > 3.2 or ghae-issue-4972 or ghec %} If you add or remove any @mentions of GitHub users in the description, those users will be added or removed from the avatar list in the **Contributors** section of the release.{% endif %}
123+
{% endif %}
124+
4. Edit the details for the release in the form, then click **Update release**.{% ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4972 %} If you add or remove any @mentions of GitHub users in the description, those users will be added or removed from the avatar list in the **Contributors** section of the release.{% endif %}
116125
![Update a release](/assets/images/help/releases/update-release.png)
117126

118127
{% endwebui %}
@@ -131,10 +140,15 @@ Releases cannot currently be edited with {% data variables.product.prodname_cli
131140

132141
{% data reusables.repositories.navigate-to-repo %}
133142
{% data reusables.repositories.releases %}
143+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-4974 %}
144+
3. On the right side of the page, next to the release you want to delete, click {% octicon "trash" aria-label="The trash icon" %}.
145+
![Delete a release](/assets/images/help/releases/delete-release-trash.png)
146+
{% else %}
134147
3. Click the name of the release you wish to delete.
135148
![Link to view release](/assets/images/help/releases/release-name-link.png)
136149
4. In the upper-right corner of the page, click **Delete**.
137150
![Delete release button](/assets/images/help/releases/delete-release.png)
151+
{% endif %}
138152
5. Click **Delete this release**.
139153
![Confirm delete release](/assets/images/help/releases/confirm-delete-release.png)
140154

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Searching a repository's releases
3+
intro: You can use keywords, tags, and other qualifiers to search for particular releases in a repository.
4+
permissions: Anyone with read access to a repository can search that repository's releases.
5+
shortTitle: Searching releases
6+
versions:
7+
fpt: '*'
8+
ghec: '*'
9+
ghes: '>3.2'
10+
ghae-issue-4974: '*'
11+
topics:
12+
- Repositories
13+
---
14+
15+
## Searching for releases in a repository
16+
17+
{% data reusables.repositories.navigate-to-repo %}
18+
{% data reusables.repositories.releases %}
19+
1. To search the repository's releases, in the search field at the top of the Releases page, type your query and press **Enter**.
20+
![Releases search field](/assets/images/help/releases/search-releases.png)
21+
22+
## Search syntax for searching releases in a repository
23+
24+
You can provide text in your search query which will be matched against the title, body, and tag of the repository's releases. You can also combine the following qualifiers to target specific releases.
25+
26+
| Qualifier | Example
27+
| ------------- | -------------
28+
| `draft:true` | **draft:true** will only match draft releases.
29+
| `draft:false` | **draft:false** will only match published releases.
30+
| <code>tag:<em>TAG</em></code> | **tag:v1** matches a release with the v1 tag and any minor or patch versions within v1, such as v1.0, v1.2, and v1.2.5.
31+
| <code>created:<em>DATE</em></code> | **created:2021** will match releases created during 2021. You can also provide date ranges. For more information, see "[Understanding the search syntax](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1. To the right of the list of files, click **Releases** or **Latest release**.
1+
1. To the right of the list of files, click **Releases**.
22
![Releases section in right-hand sidebar](/assets/images/help/releases/release-link.png)

0 commit comments

Comments
 (0)