fix: makefile add commit-build
R
Rüdiger Küpper
<rpr@9it.de>
committete am 18.08.2026 01:52
a45d14cac710c54a32b51200eb8b3863db6e9b5b
| @@ -79,20 +79,26 @@ build-windows: | ||
| 79 | 79 | # SHA256-Summen ueber alle gebauten Binaries |
| 80 | 80 | checksums: |
| 81 | 81 | @cd $(DIST) && \ |
| 82 | 82 | if command -v sha256sum >/dev/null 2>&1; then \ |
| 83 | 83 | sha256sum $(BINARY_NAME)-* > checksums.txt; \ |
| 84 | 84 | else \ |
| 85 | 85 | shasum -a 256 $(BINARY_NAME)-* > checksums.txt; \ |
| 86 | 86 | fi |
| 87 | 87 | @echo "Checksums: $(DIST)/checksums.txt" |
| 88 | 88 | |
| 89 | +commit-build: |
|
| 90 | +@echo "Commit build: $(GIT)" |
|
| 91 | +@git add dist |
|
| 92 | +@git commit -m "Commit binaries for" || true |
|
| 93 | +@git push |
|
| 94 | + | |
| 89 | 95 | # Copy the default theme: make new-theme NAME=newdesign |
| 90 | 96 | new-theme: |
| 91 | 97 | @test -n "$(NAME)" || { echo "Usage: make new-theme NAME=<theme>"; exit 1; } |
| 92 | 98 | @test ! -d themes/$(NAME) || { echo "themes/$(NAME) already exists"; exit 1; } |
| 93 | 99 | cp -r themes/default themes/$(NAME) |
| 94 | 100 | @echo "Created themes/$(NAME) — activate with 'theme: $(NAME)' in config.yaml or 'go run . serve -theme $(NAME)'" |
| 95 | 101 | |
| 96 | 102 | docker-static: |
| 97 | 103 | podman build --platform linux/arm64 -t quilldrop -f ./Dockerfile-static . |
| 98 | 104 |