This commit is contained in:
Adria Navarro 2023-04-24 19:00:21 +01:00 committed by adrinr
parent 510544baeb
commit db6a9f97d7
1 changed files with 7 additions and 1 deletions

View File

@ -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: