mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
Move Instructions on Creating a Release (#163)
Moving "releases in Codeberg" as discussed in https://codeberg.org/Codeberg/Documentation/issues/151 Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/163 Co-authored-by: Gerhard Beck <gerhard.beck@elkb.de> Co-committed-by: Gerhard Beck <gerhard.beck@elkb.de>
This commit is contained in:
parent
9a211dc2d2
commit
aaf58c97c4
2 changed files with 25 additions and 26 deletions
|
|
@ -13,31 +13,7 @@ This page will show you how to do just that. The process can be decomposed in fo
|
|||
|
||||
## Create a release of your repository
|
||||
Creating a release is optional but recommended. The reason is simply that a release will make it explicit what version of your code you want to share/cite. Any further edits to your code will not be included in the release. In other words, it is good practice to share/cite a release with fixed code rather than the always changing code of your repository.
|
||||
|
||||
To create a release, first go to the `Releases` tab of your repository, and click on `New Release`:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/collaborating/citable-code/releases1.webp" type="image/webp">
|
||||
<img src="/assets/images/collaborating/citable-code/releases1.png" alt="releases1">
|
||||
</picture>
|
||||
|
||||
In the new page, enter a version number for your new release, select the branch that contains the code you want to release, add a title and a description:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/collaborating/citable-code/new-release.webp" type="image/webp">
|
||||
<img src="/assets/images/collaborating/citable-code/new-release.png" alt="new-release">
|
||||
</picture>
|
||||
|
||||
You can either save as a draft, or publish the release outright.
|
||||
|
||||
You are then re-directed to the `Releases` tab of your repository. The newly created release is now listed there:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/collaborating/citable-code/releases2.webp" type="image/webp">
|
||||
<img src="/assets/images/collaborating/citable-code/releases2.png" alt="releases2">
|
||||
</picture>
|
||||
|
||||
Here you can edit the release if needed, and you can also download the source code in ZIP or TAR.GZ format.
|
||||
You can find a description how to release on [creating a release](/git/using-tags)
|
||||
|
||||
## Download the ZIP archive
|
||||
If you did create a release, download the ZIP archive of the source code on the `Releases` tab of your repository, as shown in the previous screenshot.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,30 @@ git tag -a <version number here> -m "<my tag name>"
|
|||
```
|
||||
|
||||
### On Codeberg
|
||||
See the [creating a release](/collaborating/citable-code/#create-a-release-of-your-repository) segment on the citable code article for instructions on creating tags and releases on Codeberg.
|
||||
To create a release on Codeberg, first go to the `Releases` tab of your repository, and click on `New Release`:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/collaborating/citable-code/releases1.webp" type="image/webp">
|
||||
<img src="/assets/images/collaborating/citable-code/releases1.png" alt="releases1">
|
||||
</picture>
|
||||
|
||||
In the new page, enter a version number for your new release, select the branch that contains the code you want to release, add a title and a description:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/collaborating/citable-code/new-release.webp" type="image/webp">
|
||||
<img src="/assets/images/collaborating/citable-code/new-release.png" alt="new-release">
|
||||
</picture>
|
||||
|
||||
You can either save as a draft, or publish the release outright.
|
||||
|
||||
You are then re-directed to the `Releases` tab of your repository. The newly created release is now listed there:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/collaborating/citable-code/releases2.webp" type="image/webp">
|
||||
<img src="/assets/images/collaborating/citable-code/releases2.png" alt="releases2">
|
||||
</picture>
|
||||
|
||||
Here you can edit the release if needed, and you can also download the source code in ZIP or TAR.GZ format.
|
||||
|
||||
## Finding and viewing releases in a repository
|
||||
<picture>
|
||||
|
|
|
|||
Loading…
Reference in a new issue