pipeline fix
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-01-26 21:18:14 +01:00
parent 52b61543fd
commit fcbe9fbf59
2 changed files with 12 additions and 11 deletions

View File

@@ -14,9 +14,6 @@ SRC = $(shell sed 's|^|$(SRC_DIR)/|' $(ORDER))
ASSETS_LUA = inc/meta/meta.assets.lua
# VERSION lehet környezeti változó vagy extract-eljük a lua fájlból
VERSION ?= $(shell sed -n "s/^-- version: //p" $(OUTPUT) | head -n 1)
all: build
build: $(OUTPUT)
@@ -37,7 +34,9 @@ export: build
@tic80 --cli --skip --fs=. \
--cmd="load $(OUTPUT) & save $(PROJECT)-$(VERSION) & export html $(PROJECT)-$(VERSION).html & exit"
@echo "==> Creating versioned files"
@cp $(PROJECT)-$(VERSION).tic $(PROJECT).tic
@if [ -f "$(PROJECT)-$(VERSION).tic" ]; then \
cp $(PROJECT)-$(VERSION).tic $(PROJECT).tic; \
fi
@if [ -f "$(PROJECT)-$(VERSION).html.zip" ]; then \
cp $(PROJECT)-$(VERSION).html.zip $(PROJECT).html.zip; \
fi