Skip to content

Commit

Permalink
Allow release workflow to run when a new release is created
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-richter committed Aug 19, 2024
1 parent 450636a commit 1553388
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ permissions:
contents: write

on:
push:
tags:
# Regex for a version number such as 0.2.1
- "[0-9]+.[0-9]+.[0-9]+"
# Regex for a version number such as 0.2.1-RC1
- "[0-9]+.[0-9]+.[0-9]+.*RC.*"
release:
types: [ created ]
#push:
# tags:
# # Regex for a version number such as 0.2.1
# - "[0-9]+.[0-9]+.[0-9]+"
# # Regex for a version number such as 0.2.1-RC1
# - "[0-9]+.[0-9]+.[0-9]+.*RC.*"

jobs:
create-release:
Expand Down

0 comments on commit 1553388

Please sign in to comment.