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
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/warkanum/unitdore/sysuser"
|
||||
)
|
||||
|
||||
var version = "0.0.11"
|
||||
var version = "0.0.12"
|
||||
|
||||
var configPath string
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Hein (Warky Devs) <hein@warky.dev>
|
||||
pkgname=unitdore
|
||||
pkgver=0.0.11
|
||||
pkgver=0.0.12
|
||||
pkgrel=1
|
||||
pkgdesc="A door you open and close for container units — manage containers via systemd"
|
||||
arch=('x86_64' 'aarch64')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: unitdore
|
||||
Version: 0.0.11
|
||||
Version: 0.0.12
|
||||
Release: 1%{?dist}
|
||||
Summary: Manage container units via systemd
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Template file for 'unitdore'
|
||||
pkgname=unitdore
|
||||
version=0.0.11
|
||||
version=0.0.12
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/warkanum/unitdore"
|
||||
@@ -10,7 +10,7 @@ maintainer="Hein (Warky Devs) <hein@warky.dev>"
|
||||
license="MIT"
|
||||
homepage="https://git.warky.dev/wdevs/unitdore"
|
||||
distfiles="${homepage}/releases/download/v${version}/unitdore-v${version}-source.tar.gz"
|
||||
checksum=0ce16db55d2dbd5437c2820d19c76b0714c1b57568bf6db509184f66b7c4e7a3
|
||||
checksum=UPDATE_AFTER_RELEASE
|
||||
|
||||
post_install() {
|
||||
vman docs/unitdore.1
|
||||
|
||||
Reference in New Issue
Block a user