Releases in Codeberg #163

Merged
n merged 7 commits from gerhardbeck/Codeberg_Documentation:master into master 5 months ago
  1. 26
      content/collaborating/citable-code.md
  2. 25
      content/git/using-tags.md

26
content/collaborating/citable-code.md

@ -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.

25
content/git/using-tags.md

@ -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…
Cancel
Save