chore(release): update package version to 0.0.12
This commit is contained in:
@@ -4,7 +4,7 @@ CONFIG_DIR := /etc/unitdore
|
||||
VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
|
||||
LDFLAGS := -ldflags "-X github.com/warkanum/unitdore/cmd.version=$(VERSION)"
|
||||
|
||||
.PHONY: all build install uninstall test lint clean release-version pkg-checksums
|
||||
.PHONY: all build install uninstall test lint clean release-version version-set pkg-checksums
|
||||
|
||||
all: build
|
||||
|
||||
@@ -58,6 +58,12 @@ release-version:
|
||||
git push origin HEAD "$$NEXT"; \
|
||||
echo "Pushed $$NEXT — release workflow triggered"
|
||||
|
||||
## version-set: set version in source and package files, no commit/tag (make version-set NEW_VERSION=X.Y.Z)
|
||||
version-set:
|
||||
@echo "$(NEW_VERSION)" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$$' || { echo "usage: make version-set NEW_VERSION=X.Y.Z"; exit 1; }
|
||||
scripts/bump-version.sh "$(NEW_VERSION)"
|
||||
@echo "Version set to $(NEW_VERSION) — review with 'git diff', then commit"
|
||||
|
||||
## pkg-checksums: fill the Void checksum from the published release (run after release)
|
||||
pkg-checksums:
|
||||
scripts/update-checksums.sh
|
||||
|
||||
Reference in New Issue
Block a user