From 0db6cd67278354a05f6d9cb432ec6d34dbceaad6 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 22 Nov 2023 10:56:05 +0300 Subject: [PATCH] [#268] Add dirty version check Signed-off-by: Alex Vanin --- .forgejo/workflows/builds.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/builds.yml b/.forgejo/workflows/builds.yml index aac685763..97ac86b98 100644 --- a/.forgejo/workflows/builds.yml +++ b/.forgejo/workflows/builds.yml @@ -18,3 +18,6 @@ jobs: - name: Build binary run: make + + - name: Check dirty suffix + run: if [[ $(make version) == *"dirty"* ]]; then echo "Version has dirty suffix" && exit 1; fi