feat/release-page #2

Merged
notazof merged 35 commits from feat/release-page into main 2026-08-17 19:56:11 +01:00
Showing only changes of commit 5ea37f51be - Show all commits

Makefile: single-line shell block for .deb presence check
Some checks failed
Forgejo Release postit-deb / release (push) Failing after 1m38s

The previous commit put an 'if ... then ... fi' block across
multiple physical lines in the Makefile recipe. make runs each
recipe line in its own shell, so the 'fi' never matched its
'if', and the parser (dash on Debian) reported
`Syntax error: end of file unexpected (expecting "fi")`.

Collapse the if/then/fi into a single line joined with ';',
joined to the surrounding lines with '\\' continuation so make
treats them as one shell command.
Paul Schneider 2026-08-17 17:32:39 +01:00
No known key found for this signature in database
GPG key ID: 1E66C65EE2B46F1B

View file

@ -50,14 +50,8 @@ deb:
# fallback was masking real dpkg-buildpackage failures (the
# fallback was matching leftover .deb from previous runs and
# returning 0 even when the current build had produced nothing).
DEB_GLOB=$(ls ../postit_*$(POSTIT_GIT_TAG)-1*.deb 2>/dev/null || true)
if [[ -z "$$DEB_GLOB" ]]; then
DEB_GLOB=$(ls ../postit_*.deb 2>/dev/null || true)
fi
if [[ -z "$$DEB_GLOB" ]]; then
echo " ERROR: dpkg-buildpackage produced no .deb for POSTIT_GIT_TAG=$(POSTIT_GIT_TAG)" >&2
exit 1
fi
DEB_GLOB=$$(ls ../postit_*$(POSTIT_GIT_TAG)-1*.deb 2>/dev/null || ls ../postit_*.deb 2>/dev/null || true); \
if [ -z "$$DEB_GLOB" ]; then echo " ERROR: dpkg-buildpackage produced no .deb for POSTIT_GIT_TAG=$(POSTIT_GIT_TAG)" >&2; exit 1; fi; \
mv $$DEB_GLOB $(POSTIT_OUT_DIR)/
@echo " ✓ artifacts moved to $(POSTIT_OUT_DIR)"