From 62ea942773406f9c4df04e2a187c85b0eb8c8937 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Sat, 24 May 2025 12:38:34 +0200 Subject: [PATCH] chore: fix typo'd variable RELASE_VERSION -> RELEASE_VERSION Signed-off-by: Christoph Heiss --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index cefd28b6..dc8b4771 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ STORED_VERSION_FILE := VERSION ifneq ($(DRONE_TAG),) VERSION ?= $(subst v,,$(DRONE_TAG)) - RELASE_VERSION ?= $(VERSION) + RELEASE_VERSION ?= $(VERSION) else ifneq ($(DRONE_BRANCH),) VERSION ?= $(subst release/v,,$(DRONE_BRANCH)) @@ -56,9 +56,9 @@ else STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null) ifneq ($(STORED_VERSION),) - RELASE_VERSION ?= $(STORED_VERSION) + RELEASE_VERSION ?= $(STORED_VERSION) else - RELASE_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') + RELEASE_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') endif endif @@ -66,7 +66,7 @@ GO_PACKAGES_TO_VET ?= $(filter-out gitea.com/gitea/act_runner/internal/pkg/clien TAGS ?= -LDFLAGS ?= -X "gitea.com/gitea/act_runner/internal/pkg/ver.version=v$(RELASE_VERSION)" +LDFLAGS ?= -X "gitea.com/gitea/act_runner/internal/pkg/ver.version=v$(RELEASE_VERSION)" all: build