Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to release a new version on GitHub?

Tags:

git

github

We weren’t able to create the release for you. Please help me correct the errors below.

enter image description here

Can anyone help me creating releases on GitHub?

like image 870
Mohamed Elhakim Avatar asked Feb 17 '21 09:02

Mohamed Elhakim


People also ask

How do GitHub releases work?

Releases are GitHub's way of packaging and providing software to your users. You can think of it as a replacement to using downloads to provide software. With Releases, you can provide links to binary files, as well as release notes describing your changes. At their core, Releases are based on Git tags.

What is pre release in GitHub?

Pre-release releases are used for cases where the code is in early preview and may still contain bugs. Stable releases typically aren't released with known bugs and are geared towards wide adoption.


3 Answers

In Tag version textbox, you type your version number started by v, for example v1.0.0 .

See example at:

https://github.com/donhuvy/QuanLySinhVien/releases/tag/v1.0.0

enter image description here

enter image description here

like image 179
Do Nhu Vy Avatar answered Oct 17 '22 16:10

Do Nhu Vy


we have to "Create a tag" first before we can publish.
type tag name and hit create new tag button on the dropdown to create one

enter image description here

It feels like preety bad ui/ux from github's part, the error message says "invalid" tag, and what it actually means is we need to type and hit "create new tag" and then select the tag to be able to use it. Jesus!

like image 7
kritiz Avatar answered Oct 17 '22 14:10

kritiz


You just have to enter the non existing tag in the selection dropdown and, it will let you create it

like image 3
Aurélien Caraty Avatar answered Oct 17 '22 14:10

Aurélien Caraty