2 Commits

Author SHA1 Message Date
a7c3b632a5 docs: add local packaging screenshot to README 2026-03-09 22:34:35 -04:00
d53af6b84f build: add release pipeline targets to Makefile
Add tag, gitea-release, and release targets to encode the corrected
versioning process (no v-prefix). VERSION is now overridable via the
command line for use in make release VERSION=x.y.z.
2026-03-09 22:22:38 -04:00
3 changed files with 28 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
BIN := yoink BIN := yoink
BUILD_DIR := build BUILD_DIR := build
REGISTRY := git.brizzle.dev/bryan/yoink-go REGISTRY := git.brizzle.dev/bryan/yoink-go
VERSION := $(shell git describe --tags --always --dirty) VERSION ?= $(shell git describe --tags --always --dirty)
NOTES ?= ""
.PHONY: all windows linux darwin clean docker-build docker-push .PHONY: all windows linux darwin clean docker-build docker-push tag gitea-release release
all: windows linux darwin all: windows linux darwin
@@ -28,5 +29,28 @@ docker-push: docker-build
podman push $(REGISTRY):$(VERSION) podman push $(REGISTRY):$(VERSION)
podman push $(REGISTRY):latest podman push $(REGISTRY):latest
tag:
@if [ -z "$(VERSION)" ]; then echo "Usage: make tag VERSION=1.2.0"; exit 1; fi
git tag $(VERSION)
git push origin $(VERSION)
gitea-release:
tea release create \
--tag $(VERSION) \
--title "$(VERSION)" \
--note $(NOTES) \
--asset $(BUILD_DIR)/$(BIN)-windows-amd64.exe \
--asset $(BUILD_DIR)/$(BIN)-linux-amd64 \
--asset $(BUILD_DIR)/$(BIN)-linux-arm64 \
--asset $(BUILD_DIR)/$(BIN)-darwin-amd64 \
--asset $(BUILD_DIR)/$(BIN)-darwin-arm64
release:
@if [ -z "$(VERSION)" ]; then echo "Usage: make release VERSION=1.3.0 NOTES='...'"; exit 1; fi
$(MAKE) tag VERSION=$(VERSION)
$(MAKE) clean all
$(MAKE) gitea-release VERSION=$(VERSION) NOTES=$(NOTES)
$(MAKE) docker-push VERSION=$(VERSION)
clean: clean:
rm -rf $(BUILD_DIR) rm -rf $(BUILD_DIR)

View File

@@ -99,6 +99,8 @@ The web UI is then available at `http://localhost:8080`.
#### Packaging local images #### Packaging local images
![Local packaging panel](Screenshot_02.png)
Click the upload icon (↑) in the header to open the packaging panel. Enter a title, then either: Click the upload icon (↑) in the header to open the packaging panel. Enter a title, then either:
- **Drag and drop** a folder or image files onto the drop zone - **Drag and drop** a folder or image files onto the drop zone

BIN
Screenshot_02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB