From c8167af6181f299aa6d31137bf0ac9ff90d3686a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20P=C3=A9rez?= Date: Fri, 30 May 2025 01:14:43 +0200 Subject: [PATCH] add fix --- .woodpecker.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 732cfd7..d96ff0b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -16,10 +16,8 @@ steps: commands: - echo "Checking project version..." - VERSION_CURRENT=$(grep 'version =' main.go | cut -d'"' -f2) - - echo "Project version: $VERSION_CURRENT" - PREV_COMMIT=$(git rev-parse HEAD^) - VERSION_PREV=$(git show "$PREV_COMMIT:main.go" | grep 'version =' | cut -d'"' -f2) - - echo "Previous version: $VERSION_PREV" - | if [ "$VERSION_CURRENT" = "$VERSION_PREV" ]; then echo "❌ The version has not changed. You must update it to merge to main."