From aff422a6e0c83c412d73fbfd46ca459941beece8 Mon Sep 17 00:00:00 2001 From: "Robin C. Ladiges" Date: Sat, 13 Aug 2022 21:13:16 +0200 Subject: [PATCH] allow build or pre-release details in release tags Examples: - v1.2.3-rc.1 (release candidate 1) - v1.2.3-dev+2 (dev pre-release, build 2) --- .github/workflows/build.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f954ed7..175a8f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,8 @@ on: tags: - '**' - '!v[0-9]+.[0-9]+.[0-9]+' + - '!v[0-9]+.[0-9]+.[0-9]+\+*' + - '!v[0-9]+.[0-9]+.[0-9]+-*' pull_request: branches: - '**' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00c84b6..3def7de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,8 @@ on: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' + - 'v[0-9]+.[0-9]+.[0-9]+\+*' + - 'v[0-9]+.[0-9]+.[0-9]+-*' jobs: