From b31709bf27931b882066e4e34871422765823188 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Thu, 7 Apr 2022 11:01:31 +0200 Subject: [PATCH] add version check on relaese --- .github/workflows/release.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 076e9f9..71a9939 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,22 @@ on: workflow_dispatch: jobs: - build: + version_check: + name: Version Check + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v2 + - run: pip install GitPython + - name: check version + run: ./scripts/check_version.py + + create_release: + needs: version_check name: Create new release runs-on: ubuntu-latest steps: