Git

How to Create Releases for Public or Private Repository in GitHub?

Releases in GitHub are a way of packaging and providing software to users. A release is based on a Git tag, which marks a particular point in the repository’s history. It includes release notes, source code, binary files, links to download the software, and other information. It is used to notify users about new versions of software, bug fixes, and other modifications.

This article will demonstrate the method to create a release for the public or private repository in GitHub.

How to Create and Publish Releases for Private or Public GitHub Repository?

To create a release for the public or private repository in GitHub, try out the provided steps:

Step 1: Navigate to GitHub Repository

First, open GitHub and redirect to the particular public or private remote repository.

Step 2: Choose “Create a new release” Option

Next, click on the “Create a new release” button:


Step 3: Choose a Tag

Then, create a new tag or select the existing tag. For instance, we have selected the already existing tag, i.e., v2.0:


Step 4: Add Title and Description

Now, add the specific title and description for the release:


Step 5: Publish the Release

Finally, click on the “Publish release” button to publish it:


Upon doing so, the release for the desired repository will be created and published which can be seen in the below screenshot:


We have successfully created and published a release for the public repository in GitHub.

Conclusion

To create a release for the public or private repository in GitHub, first, redirect to the desired public or private GitHub repository. Then, choose the “Create a new release” option. Next, select a tag for release, and add a title and description. Finally, click on the “Publish release” button to publish it. This article has demonstrated the method of creating a release for the public or private repository in GitHub.

About the author

Laiba Younas

I have done bachelors in Computer Science. Being passionate about learning new technologies, I am interested in exploring different programming languages and sharing my experience with the world.