How to Release Code With Github
Вставка
- Опубліковано 31 лип 2024
- ►► Establish a Well-Structured Data Warehouse for Your Small Team In 90 Days (Free Guide) → www.kahandatasolutions.com/guide
Any project you build is designed to be released at some point. While that may seem obvious, there are some specific steps required to actually make this happen.
In this video, we will walk through what releases are, how they work and how to easily create one in GitHub.
What are Releases?
Releases are deployable software iterations you can package and make available for a wider audience to download and use.
Releases are based on Git tags, which mark a specific point in your repository's history. A tag date may be different than a release date since they can be created at different times.
You can receive notifications when new releases are published in a repository without receiving notifications about other updates to the repository.
Anyone with read access to a repository can view and compare releases, but only people with write permissions to a repository can manage releases. You can manually create release notes while managing a release.
Alternatively, you can automatically generate release notes from a default template, or customize your own release notes template.
Timestamps:
0:00 - Intro
0:23 - Examples
1:06 - Semantic Versioning
2:45 - Tags
3:21 - What's in a Releases
4:45 - Creating a Release
6:24 - Automation
Title & Tags:
How to Create Releases in GitHub | Github Tutorial for Beginners
#kahandatasolutions #dataengineering #github
►► Establish a Well-Structured Data Warehouse for Your Small Team In 90 Days (Free Guide) → www.kahandatasolutions.com/guide
Great content! Short, simple and to the point. Thanks so so much for this.
You're very welcome!
Pretty much a straight forward video information, not so many people know how to create these kind of good videos explaining stuff
I appreciate that! Thanks for watching.
u r so good in explaining the stuff. Bravo!
nicely done, found this video very helpful preparing for a release.
Thank you! Great video
Very helpful, thank you!
You're welcome!
Wow !! you were so clear in explanation.
Thanks!
Perfect. Thank you
You're welcome!
wonderful explanation straight to action
Thanks!
Learned a lot in 7 minutes, thanks!
Glad to hear it! Thanks for watching
I appreciate your clear style of explanation. :)
What I'd like to do is have github handle the pushing of published updates to the production server. I think I get the gist that I could create an action to sync the git via sftp automatically after a publish. But frequently I also need to make a database change simultaneously, and making that happen automatically might just be more trouble than it's worth.
Thanks for the kind words! One thing that you may want to look into for those database changes is Infrastructure as Code (IaC), in particular a tool like Terraform.
With that kind of tool, you can automate some of your DB changes and include it in the Github Actions as well. It will take some time to get that part written up and a bit of a learning curve, but will could be super helpful in your case in the long run.
@@KahanDataSolutions Good to know, thank you very much!
Great explanation, Sir. Thanks.
You're welcome, thanks for watching!
This is the best explanation.
Thanks!
Thanks for this great video tutorial!
You're very welcome!
Thank you very much❤
Great explanation! Thanks.
Glad it was helpful!
Excelent tutorial. Thank you so much
Glad it was helpful!
Thank you so much! 🙂
Thanks. Clear cut explanation.
Glad it was helpful!
Good Explanation!
Glad it was helpful!
Useful content & good content 10/10
Much appreciated!
such a great video thanks
Glad it was helpful, thanks for watching
Great video, thanks
Thanks for watching!
Well explained, Very helpfull, thanks
Glad it was helpful, thanks for watching
Thanks a lot.
Great video.
What about including all the commits in the release details? Will that be included automatically or do we have to write it by hand (every commit or branch and what changes it brings)?
nice explanation, thank you
Thanks for watching
Is there a way to set permissions or visibility for assets? For instance, I want only to publish/release installation files and not the code of my software. Edit: I would like to add that I am using automatic releasing in vscode. The source code (zip) file seems to be automatically created by github in the assets based on the code in the main repository and cannot be removed from the assets. A possible solution for my problem would be to use 2 different repositories in github. One repository contains the code and is private and the public repository is where the releases are published. It is a bit messy if you then have an empty source code file in the assets, but at least the code is not published this way. I have not yet found another solution.
thanks!
thanks bro
I've never started a release directly on GitHub before, I usually use Gitflow to create a new release, but I'm trying to change my workflow to phase out Gitflow. My question is: If I have a VERSION file within my repo, at what stage do I update this to reflect the new version number? Do I update it within my 'develop' branch, and then create a pull-request - or would I edit it directly within my main/master branch after I create a release directly on Github?
Thank you very much
No problem, thanks for watching
awesome!!! Thanks a lot.
You're welcome!
Nice video.
Thanks!
how do i add a new release? I can only edit the old one.
When ever I deploy i need the version to change and that version number to be reflected in my web app service. I use ci/cd pipeline azure devops, i take my repos from github. I want you to help me how to do reflect the version number in azure webapp.
Thank you
You're welcome
Imagine we released a software with version v1.0.0. Now we are working on our next major version v2.0.0 by commiting all new changes in the "main" branch.
Now one of our user discovered a bug in v1.0.0 and we have to release a bug fix with v1.0.1, but we already had commits for v2, so we can't use "main" for the patch release.
So how do we manage this situation? what's the best way to manage tags/release in this case?
you can rewrite history
use `git rebase -i head~3` to rearrange commits
cherry pick the bug fix patch and commit
@@RabindraNathMurmuready2upload Is this how popular repos are managed? coz they are having multiple releases and maintainers. git rebase make sense for them?
4:56 Why don't you click "Publish your first package"?
👍
I disagree with compatibility stuff when major changes. Most of libraries are compatible even though they increase major number. If it's not compatible, then the users will no longer use that library.
i dont have access to releases on my own repo
as in it doesnt exist
what do i do now?
Perhaps you have limited permissions. Are you the owner of the repository?
@@KahanDataSolutions yes it is my repository
@@ralkey I had the same problem. I figured I was not logged in, can you check if you had logged in to your account?
@@maghiiTM ah no i figured it out. One of my chrome extensions removed the releases tab. So i deleted that extension
4:42 demo
- 4.37 минуте беларуска вова, падабайка за гэта!
Only Apple products... of course..
watching this videos as a BE dev, what a waste of my time. uselessness waste of my time