• Stars
    star
    101
  • Rank 336,165 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Example workflows for automated releases in a GitFlow-style project using GitHub actions.

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.

More Repositories

1

keep-a-changelog-new-release

Automatically update your CHANGELOG.md for a new release
TypeScript
37
star
2

create-pull-request

Does what it says on the tin, create a pull request, easy and simple.
TypeScript
24
star
3

semverlog

Stay on top of semver using your changelog.
Rust
13
star
4

curriculum-vitae

Curriculum Vitae
TeX
6
star
5

assign-pr-creator-action

TypeScript
6
star
6

create-release

A better GitHub action for creating a release.
TypeScript
5
star
7

set-crate-version

TypeScript
4
star
8

osgi-maven-example

An example project that demonstrates the use of a Multi-Module maven project in combination with OSGi and DS.
Java
4
star
9

pkgbuilds

A collection of personal AUR packages.
Shell
4
star
10

proptest-state-machine-banking

An example application to showcase how to use property-based state machine testing with banking as the example domain.
Rust
3
star
11

rust-jsonrpc-client

A macro-driven JSON-RPC client for Rust.
Rust
3
star
12

thomaseizinger.github.io

Personal website
CSS
2
star
13

proc-macro-warning-MRE

proc-macro-warning-MRE
2
star
14

dprint-plugin-cargo-toml

A dprint plugin that formats Cargo.toml files according to Rust's formatting convention: https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/cargo.md
Rust
2
star
15

cga-example-exams-answers

This repository contains answers to the example exams of the computer graphics and animations course at the FHTW.
2
star
16

catalysts_coding_contest_template

A simple gradle project containing useful abstractions to be used at the Catalysts Coding Contest.
Java
2
star
17

sn-timesheet-editor

A standard notes editor for maintaining simple timesheets.
TypeScript
1
star
18

rust-impl-template

Rust
1
star
19

async-locks-live-coding-2022-10-10

Rust
1
star
20

bitcoin-harness-rs

A simple lib to start a bitcoind container, generate blocks and funds addresses.
Rust
1
star
21

create-desktop

A small utility program to create .desktop files for any executable.
Rust
1
star
22

docker-xfoil

Dockerfile
1
star
23

monero-wallet-sys

Rust
1
star
24

opencl-image-rotation

Rotation of an image by an arbitrary degree using OpenCL through OOCL and JOCL.
Java
1
star
25

rust-async-response-stream

Rust
1
star
26

rust-sans-io-coroutines

Playing with coroutines for sans-IO protocols.
Rust
1
star
27

nixos-yubikey-setup-image

A flake for generating a ready-to-use live image to set up a Yubikey.
Nix
1
star
28

rust-futures-bounded

Rust
1
star