diff options
| -rw-r--r-- | .ci/woodpecker/00-check-version.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.ci/woodpecker/00-check-version.yaml b/.ci/woodpecker/00-check-version.yaml new file mode 100644 index 00000000..cc2a24a8 --- /dev/null +++ b/.ci/woodpecker/00-check-version.yaml @@ -0,0 +1,13 @@ +steps: + - name: check-version + image: alpine + pull: true + when: + branch: [be] + event: [push, pull_request] + commands: + - | + grep -q '$Format:' VERSION || ( + echo "ERROR: VERSION must contain \$Format placeholder for export-subst" + exit 1 + ) |
