Code Monkey home page Code Monkey logo

github-action-gitflow-release-workflow's Introduction

GitFlow release workflow using GitHub actions

This repository contains GitHub workflows that allow for fully automated release as per the GitFlow conventions. You are welcome to use it for inspiration for your own release workflows or maybe even copying them verbatim if the fit your needs.

Usage

If you are using the workflows as they are in this repository, there are only two manual steps for releasing a new version:

  1. Trigger the "Draft new release" workflow through the "Actions" tab.
  2. Merge the PR that is created for you.

The automation will do the following things:

  • Update your changelog with the new version
  • Change the version in the necessary manifest files
  • Tag the final release and create a GitHub release

Design

I've written a blog post that describes the technical design in detail here: https://blog.eizinger.io/12274/using-github-actions-and-gitflow-to-automate-your-release-process

NOTE: The workflows and actions in this repository were changed since the blogpost was published. Please see the CHANGELOG.md for a detailed summary.

The idea of these workflows is to automate all the tedious aspects of releases while still allowing manual intervention if necessary and control over crucial aspects.

I think I've achieved this by doing the following:

  • The individual GitHub actions used are small and focused.

This allows you to adapt the workflows to your own needs. Ironically, this is what makes this whole repository not special. It just takes good ideas that are already out there and creates automation around them.

  • You have full control over what the next version is.

There is no magic involved, only the tedious things are automated. You have full control over what is being released and under which version.

Hall of fame

If you are using these workflow or got inspired by them to build something similar, feel free to add yourself to this list:

  • BE THE FIRST ONE!

License

MIT.

github-action-gitflow-release-workflow's People

Contributors

thomaseizinger avatar web-flow avatar jsoberg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.