ci: allow prereleases following Semver tagging spec (#1046)

Semantic Versioning 2.0.0 sets in paragraphs 9 and 10 how prereleases should be denoted. This adapts that specification to a Regex pattern.

See more: https://semver.org/#spec-item-9 and https://semver.org/#spec-item-10
This commit is contained in:
Sergio Hg 2018-10-04 14:20:04 +02:00 committed by Juan Picado @jotadeveloper
parent c6ea6893ec
commit ad29b7d701
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ aliases:
- &execute_on_release
filters:
tags:
only: /(v)?[0-9]+(\.[0-9]+)*/
only: /v?[0-9]+(\.[0-9]+)+([-+\.][0-9a-zA-Z]+)*/
branches:
ignore:
- /.*/