Add Better Version Build Support

This allow you to build specific builds based on feature for specific version such as `v1.0.0.88-lndseedbackup-1` (good for forks with custom features)
This commit is contained in:
XPayServer 2020-08-06 08:42:11 +02:00
parent a80146e894
commit d758bedaed

View file

@ -124,7 +124,6 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
publish: publish:
jobs: jobs:
- amd64: - amd64:
@ -134,21 +133,22 @@ workflows:
ignore: /.*/ ignore: /.*/
# only act on version tags v1.0.0.88 or v1.0.2-1 # only act on version tags v1.0.0.88 or v1.0.2-1
# OR feature tags like vlndseedbackup # OR feature tags like vlndseedbackup
# OR features on specific versions like v1.0.0.88-lndseedbackup-1
tags: tags:
only: /(v[1-9]+(\.[0-9]+)*(-[0-9]+)?)|(v[a-z]+)/ only: /(v[1-9]+(\.[0-9]+)*(-[a-z0-9-]+)?)|(v[a-z0-9-]+)/
- arm32v7: - arm32v7:
filters: filters:
branches: branches:
ignore: /.*/ ignore: /.*/
tags: tags:
only: /(v[1-9]+(\.[0-9]+)*(-[0-9]+)?)|(v[a-z]+)/ only: /(v[1-9]+(\.[0-9]+)*(-[a-z0-9-]+)?)|(v[a-z0-9-]+)/
- arm64v8: - arm64v8:
filters: filters:
branches: branches:
ignore: /.*/ ignore: /.*/
tags: tags:
only: /(v[1-9]+(\.[0-9]+)*(-[0-9]+)?)|(v[a-z]+)/ only: /(v[1-9]+(\.[0-9]+)*(-[a-z0-9-]+)?)|(v[a-z0-9-]+)/
- multiarch: - multiarch:
requires: requires:
- amd64 - amd64
@ -158,4 +158,4 @@ workflows:
branches: branches:
ignore: /.*/ ignore: /.*/
tags: tags:
only: /(v[1-9]+(\.[0-9]+)*(-[0-9]+)?)|(v[a-z]+)/ only: /(v[1-9]+(\.[0-9]+)*(-[a-z0-9-]+)?)|(v[a-z0-9-]+)/