Skip to content

Commit

Permalink
Build release on publish instead of tag
Browse files Browse the repository at this point in the history
Match what preflight is doing for building releases. The release
workflow will trigger on the release being published, which will
support doing pre-release builds as well.

Signed-off-by: Brad P. Crochet <brad@redhat.com>
  • Loading branch information
bcrochet authored and jomkz committed Jul 20, 2022
1 parent 541a8ca commit 043fd9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Build Release

on:
release:
types:
- published
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
branches:
- ghactions

jobs:
build-release:
Expand Down

0 comments on commit 043fd9b

Please sign in to comment.