From 360e80b949317b36cf0f8bc6d84bc42feea73efc Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 5 Sep 2022 12:23:40 +0300 Subject: [PATCH] [#63] Fail build on dirty version Signed-off-by: Alex Vanin --- .github/workflows/builds.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 1635d9a..eaa7750 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -36,6 +36,9 @@ jobs: - name: Build CLI run: make + - name: Check version + run: if [[ $(make version) == *"dirty"* ]]; then exit 1; fi + - name: Save binary uses: actions/upload-artifact@v2 with: