Commit 433c2447 authored by Nathan Friend's avatar Nathan Friend

Document Release asset link editing

This commit documents how to go about editing Release links using the
GitLab UI.
parent 87345e04
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
subtitleText() { subtitleText() {
return sprintf( return sprintf(
__( __(
'Releases are based on Git tags. We recommend naming tags that fit within semantic versioning, for example %{codeStart}v1.0%{codeEnd}, %{codeStart}v2.0-pre%{codeEnd}.', 'Releases are based on Git tags. We recommend tags that use semantic versioning, for example %{codeStart}v1.0%{codeEnd}, %{codeStart}v2.0-pre%{codeEnd}.',
), ),
{ {
codeStart: '<code>', codeStart: '<code>',
......
---
title: Update informational text on Edit Release page
merge_request: 28938
author:
type: changed
...@@ -183,7 +183,7 @@ we recommend doing this as one of the last steps in your CI/CD release pipeline. ...@@ -183,7 +183,7 @@ we recommend doing this as one of the last steps in your CI/CD release pipeline.
## Editing a release ## Editing a release
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/26016) in GitLab 12.6. > [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/26016) in GitLab 12.6. Asset link editing was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/9427) in GitLab 12.10.
To edit the details of a release, navigate to **Project overview > Releases** and click To edit the details of a release, navigate to **Project overview > Releases** and click
the edit button (pencil icon) in the top-right corner of the release you want to modify. the edit button (pencil icon) in the top-right corner of the release you want to modify.
...@@ -193,14 +193,13 @@ the edit button (pencil icon) in the top-right corner of the release you want to ...@@ -193,14 +193,13 @@ the edit button (pencil icon) in the top-right corner of the release you want to
This will bring you to the **Edit Release** page, from which you can This will bring you to the **Edit Release** page, from which you can
change some of the release's details. change some of the release's details.
![Edit release page](img/edit_release_page_v12_6.png) ![Edit release page](img/edit_release_page_v12_10.png)
Currently, it is only possible to edit the release title and notes. Currently, it is only possible to edit the release title, notes, and asset
To change other release information, such as its tag, associated links. To change other release information, such as its tag, associated
milestones, or release date, use the milestones, or release date, use the [Releases
[Releases API](../../../api/releases/index.md#update-a-release). Editing this API](../../../api/releases/index.md#update-a-release). Editing this information
information through the **Edit Release** page is planned for a future version through the **Edit Release** page is planned for a future version of GitLab.
of GitLab.
## Notification for Releases ## Notification for Releases
......
...@@ -16634,7 +16634,7 @@ msgstr "" ...@@ -16634,7 +16634,7 @@ msgstr ""
msgid "Releases are based on Git tags and mark specific points in a project's development history. They can contain information about the type of changes and can also deliver binaries, like compiled versions of your software." msgid "Releases are based on Git tags and mark specific points in a project's development history. They can contain information about the type of changes and can also deliver binaries, like compiled versions of your software."
msgstr "" msgstr ""
msgid "Releases are based on Git tags. We recommend naming tags that fit within semantic versioning, for example %{codeStart}v1.0%{codeEnd}, %{codeStart}v2.0-pre%{codeEnd}." msgid "Releases are based on Git tags. We recommend tags that use semantic versioning, for example %{codeStart}v1.0%{codeEnd}, %{codeStart}v2.0-pre%{codeEnd}."
msgstr "" msgstr ""
msgid "Releases documentation" msgid "Releases documentation"
......
...@@ -40,7 +40,7 @@ describe 'User edits Release', :js do ...@@ -40,7 +40,7 @@ describe 'User edits Release', :js do
end end
it 'renders the edit Release form' do it 'renders the edit Release form' do
expect(page).to have_content('Releases are based on Git tags. We recommend naming tags that fit within semantic versioning, for example v1.0, v2.0-pre.') expect(page).to have_content('Releases are based on Git tags. We recommend tags that use semantic versioning, for example v1.0, v2.0-pre.')
expect(find_field('Tag name', { disabled: true }).value).to eq(release.tag) expect(find_field('Tag name', { disabled: true }).value).to eq(release.tag)
expect(find_field('Release title').value).to eq(release.name) expect(find_field('Release title').value).to eq(release.name)
......
...@@ -66,7 +66,7 @@ describe('Release edit component', () => { ...@@ -66,7 +66,7 @@ describe('Release edit component', () => {
it('renders the description text at the top of the page', () => { it('renders the description text at the top of the page', () => {
expect(wrapper.find('.js-subtitle-text').text()).toBe( expect(wrapper.find('.js-subtitle-text').text()).toBe(
'Releases are based on Git tags. We recommend naming tags that fit within semantic versioning, for example v1.0, v2.0-pre.', 'Releases are based on Git tags. We recommend tags that use semantic versioning, for example v1.0, v2.0-pre.',
); );
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment