diff --git a/content/collaborating/citable-code.md b/content/collaborating/citable-code.md index 4de2009..2e0a3c9 100644 --- a/content/collaborating/citable-code.md +++ b/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`: - - - - releases1 - - -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: - - - - new-release - - -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: - - - - releases2 - - -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. diff --git a/content/git/using-tags.md b/content/git/using-tags.md index 5e3e405..3d4b20b 100644 --- a/content/git/using-tags.md +++ b/content/git/using-tags.md @@ -27,7 +27,30 @@ git tag -a -m "" ``` ### 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`: + + + + releases1 + + +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: + + + + new-release + + +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: + + + + releases2 + + +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