Automate your GitHub Actions Releases (with Semantic Release)!

  Рет қаралды 27,714

Dave's Dev Channel

Dave's Dev Channel

Жыл бұрын

In this final Episode, I show you how you can use semantic-release to easily automate your GitHub Action releases!
This is part of my series on how to create and release GitHub Actions.
The first episode on how to create GitHub Actions is found here: • Create your first GitH...
The second episode on how to (manually) release GitHub Actions is here:
• Release your first Git...
This is the repository used:
github.com/davelosert/daves-y...
Here you can find semantic-release:
semantic-release.gitbook.io/

Пікірлер: 40
@dantech2011
@dantech2011 Жыл бұрын
Great work Dave! Keep making videos man! Your teaching style is really good and easy to follow. I'd even go as far as creating a full course. This information is really valuable and I appreciate you taking the time to put this together and publish it to KZbin! Subbed!
@davelosert
@davelosert Жыл бұрын
Thank you very much for that feedback, really appreciate you took the time to let me know!! I will release more videos, soon!
@miladganjali1440
@miladganjali1440 Жыл бұрын
thanks for the slow and calmly explaining everything, I really like this video.
@davelosert
@davelosert Жыл бұрын
Thank you very much for the feedback, glad you enjoyed it!
@brandonwie4173
@brandonwie4173 Жыл бұрын
Thanks Dave for the amazing post. I was setting up the semantic-release for the repo for work and got a lot of help from your video. 🎉 Subscribed!
@davelosert
@davelosert Жыл бұрын
Hey Brandon, super glad this was helpful to you! Thanks for the subscription, I will release some more videos pretty soon. :)
@TheChefski
@TheChefski Жыл бұрын
Thank you! Not much people are commenting here but I found it helpful and well explained. Hoping to see more videos in the future that I could learn from!
@davelosert
@davelosert Жыл бұрын
Thank you very much for the feedback! Happy that my content was helpful for you - and I am already working on more! :)
@NinoMatos
@NinoMatos Жыл бұрын
Quite nice video Dave :) Very well explained! Keep up with Github Action videos that really resembles real life scenarios! We need more of that :)
@davelosert
@davelosert Жыл бұрын
Thank you so much for the kind feedback! I'm already working on more! :)
@Mr_aviation_shorts
@Mr_aviation_shorts 11 ай бұрын
holy shit, this is good stuff.. been looking for a good semantic workflow. thanks dave
@davelosert
@davelosert 10 ай бұрын
Glad I could be of help! :)
@ignaciovela8065
@ignaciovela8065 9 ай бұрын
Really good video! Thanks!
@bima907
@bima907 29 күн бұрын
Awesome.
@kaokakelvin6202
@kaokakelvin6202 Жыл бұрын
really learnt alot from this
@elvissautet
@elvissautet Жыл бұрын
The best, thank you for this
@hasibulhossain1993
@hasibulhossain1993 Жыл бұрын
Thank you, keep it up.
@glinden
@glinden Жыл бұрын
Great video
@PrafulPatelcontact2praful
@PrafulPatelcontact2praful Жыл бұрын
Really helpful
@programmertelo
@programmertelo Жыл бұрын
Thanks Dave
@RubenBaez-qz5xl
@RubenBaez-qz5xl 2 ай бұрын
Hello great work! Can you share your vscode config/plugins? It looks amazing for a dev environment.
@pranupranav6279
@pranupranav6279 Жыл бұрын
Nice video. All the best for YouTubing👋
@davelosert
@davelosert Жыл бұрын
Thank you very much - glad you liked it!
@pranupranav6279
@pranupranav6279 Жыл бұрын
Yes I am working on a react hook npm package. Have a look at it. Its in its basic version stage. Lot of stuffs to do. Package name: zop-hooks
@example2061
@example2061 7 ай бұрын
thanks for video. I'm trying to do the same with release-it. It has 3 different plugins to bump a version, based on your preferences how you want to change it.
@draylegend
@draylegend 6 ай бұрын
thank you very much! How to push to a protected Branch, e.g. main. I get all the time "can't push tags to protected branch". I don't even know where to start
@davelosert
@davelosert 6 ай бұрын
Hey there, if the main branch is protected, you most likely will have to go through a pull request to make the changes. Or remove the branch protection from the repository settings, if this is a repository you own. Though I'd not recommend this for repositories which are used 'in production'.
@vikrammulik202
@vikrammulik202 Жыл бұрын
Nice video, can I refer that version number while pushing Docker image in artifactory
@PrafulPatelcontact2praful
@PrafulPatelcontact2praful Жыл бұрын
can you prepare a complete lifecycle video of trunk based development using semantic-release
@mnrendra
@mnrendra Жыл бұрын
Hi Dave thank you! But, how to sign a commit with semantic-release github actions?
@Filipmalek1
@Filipmalek1 10 ай бұрын
Just as a disclaimer, in the test.yml file, where you're defining the action steps, we don't have to include the npm run build step as seen on line 11 as it will slow down the release making process by quite a lot. I wonder why it's there in the first place @Dave? Thinking out loud I would imagine it's there to make sure the project build succeeds before making a release. If that's the case its fair as we all have different setups but I would argue that project building and build validation isn't the responsibility of semantic-release package.
@davelosert
@davelosert 10 ай бұрын
Hi, First of all: Thank you for the feedback! Actually, the `npm run build` step is required in this case, as our action.yml references the dist/index.js, and thus, the test `./uses`-step in the test will execute that file. If we'd leave it out, the test would potentially be conducted for an 'old' version of the repository as it would reference the `dist/index.js` from a previous build (e.g. in pull-requests, but also on main before the actual new dist/index.js is pushed). :)
@renatosouza1k
@renatosouza1k 6 ай бұрын
Not working for me. I make a fork your project and not work too. Nothing error but dont created a release version. Ah, i am using docker build to exec this command, this possible ? I am a test with steps 100% in cicd github actions and work.
@Satenc0
@Satenc0 5 ай бұрын
This is very well explained, I am going to try to use this amazing tool with a java-maven project, I hope it is not too different to make it work, thanks :)
@ryanzhang9841
@ryanzhang9841 Жыл бұрын
How to update new version to package.json? it seams only change the dist files
@davelosert
@davelosert Жыл бұрын
You mean update the version field in the package.json? If so, you probably need the npm plugin (is included in semantic-release, docs can be found here: docs.github.com/en/enterprise-server@3.7/admin/configuration/configuring-github-connect/about-github-connect#data-transmitted-by-individual-features-of-github-connect). You would just need to make sure to set the option 'npmPublish' to false, as you most likely don't want to publish a GitHub Action to npm.
@augustuscaeser8939
@augustuscaeser8939 Ай бұрын
toooooooooooo looooooonnnnngggggggg
WHY THROW CHIPS IN THE TRASH?🤪
00:18
JULI_PROETO
Рет қаралды 8 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 745 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 464 М.
How to Manage Releases with Semantic Versioning and Git Tags
43:14
Fully Automated npm publish using GitHub Actions and Semantic Release
26:24
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 386 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 982 М.
WHY THROW CHIPS IN THE TRASH?🤪
00:18
JULI_PROETO
Рет қаралды 8 МЛН