summaryrefslogtreecommitdiff
path: root/.ci/woodpecker/00-check-version.yaml
blob: cc2a24a8e10740fc292d055342b4f8f699f5015b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
        )