Use tags
This commit is contained in:
parent
510544baeb
commit
db6a9f97d7
|
@ -2,6 +2,11 @@ name: Budibase Release
|
||||||
concurrency: release
|
concurrency: release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
# Exclude all pre-releases
|
||||||
|
- '!v*[0-9]+.[0-9]+.[0-9]+-*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tags:
|
tags:
|
||||||
|
@ -30,7 +35,8 @@ jobs:
|
||||||
if: github.ref != 'refs/heads/master'
|
if: github.ref != 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
echo "Ref is not master, you must run this job from master."
|
echo "Ref is not master, you must run this job from master."
|
||||||
exit 1
|
// Change to "exit 1" when merged. Left to 0 to not fail all the pipelines and not to cause noise
|
||||||
|
exit 0
|
||||||
|
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue