make lint target #4

Merged
mr.zero merged 3 commits from feature/linter into master 2026-02-18 07:53:25 +00:00
Showing only changes of commit 7a57c15eeb - Show all commits

View File

@@ -151,7 +151,7 @@ clean:
# CI/CD Targets
ci-version:
@VERSION=$$(sed -n "s/^-- version: //p" inc-meta-meta.header.lua | head -n 1 | tr -d "[:space:]"); \
@VERSION=$$(sed -n "s/^-- version: //p" inc/meta/meta.header.lua | head -n 1 | tr -d "[:space:]"); \
BRANCH=$${CI_COMMIT_BRANCH:-$${WOODPECKER_BRANCH}}; \
BRANCH=$$(echo "$$BRANCH" | tr '/' '-'); \
if [ "$$BRANCH" != "main" ] && [ "$$BRANCH" != "master" ] && [ -n "$$BRANCH" ]; then \