New action: GitHub Release

New action: GitHub Release

In response to user demand, this week we release an action which tightens the bond between the favorite Git hosting service of every developer, and the favorite CI/CD service of every automation enthusiast.

How it works

In the dev lingo, a release is a way to package and distribute versions of software. In other words, it's a snapshot of the project from a particular point in time accompanied by version number and release notes. On GitHub, releases are based on tags – and so is the action in Buddy, now available in the Cloud section of the action list:

Image loading...

In the action, you select your GitHub integration and organization, and the repository in which the release will be created, together with the commit to tag. By default, the tag is the current revision of the repository to which the pipeline is attached:

Image loading...

The Settings tab, on the other hand, lets you define the name and description of the release, mark it as draft or prerelease, and load additional assets – for example, the zipped package with your build:

Image loading...

Example pipeline

Here we can see a pipeline with four actions:

  1. The first one runs npm run build on the repository files in a Node container.
  2. The second one packs the created build in a Zip package
  3. The third one creates a release on GitHub with the zipped package attached as an asset.
  4. Finally, the last action sends a notification to the company's channel that a new release was created.

Image loading...

Warning
Buddy is 100% customer-driven. Let us know what integrations you need to take your automation game to the next level! If there’s a feature or integration you miss, talk to us on the live chat or drop us a line at support@buddy.works.
Jarek Dylewski

Jarek Dylewski

Customer Support

A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.

Jun 1st 2023
Share