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)
This commit is contained in:
Robin C. Ladiges 2022-08-13 21:13:16 +02:00
parent 89a76aedab
commit aff422a6e0
No known key found for this signature in database
GPG key ID: B494D3DF92661B99
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ on:
tags: tags:
- '**' - '**'
- '!v[0-9]+.[0-9]+.[0-9]+' - '!v[0-9]+.[0-9]+.[0-9]+'
- '!v[0-9]+.[0-9]+.[0-9]+\+*'
- '!v[0-9]+.[0-9]+.[0-9]+-*'
pull_request: pull_request:
branches: branches:
- '**' - '**'

View file

@ -5,6 +5,8 @@ on:
push: push:
tags: tags:
- 'v[0-9]+.[0-9]+.[0-9]+' - 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+\+*'
- 'v[0-9]+.[0-9]+.[0-9]+-*'
jobs: jobs: