Release v1.0.1, clean up debian build

This commit is contained in:
2025-07-06 11:09:12 +00:00
parent a8a627a95e
commit 3ff7aeb61c
5 changed files with 22 additions and 15 deletions

2
.gitignore vendored
View File

@ -4,8 +4,8 @@ ipng-router-backup
debian/.debhelper/ debian/.debhelper/
debian/.gocache/ debian/.gocache/
debian/go/ debian/go/
debian/files
debian/ipng-router-backup/ debian/ipng-router-backup/
debian/*.substvars debian/*.substvars
debian/debhelper-build-stamp debian/debhelper-build-stamp
debian/*.debhelper debian/*.debhelper

View File

@ -30,7 +30,6 @@ build: sync-version
clean: clean:
@echo "Cleaning build artifacts..." @echo "Cleaning build artifacts..."
rm -f $(BUILD_DIR)/$(BINARY_NAME) rm -f $(BUILD_DIR)/$(BINARY_NAME)
@echo "Clean complete"
# Run tests # Run tests
.PHONY: test .PHONY: test
@ -53,18 +52,17 @@ pkg-deb: sync-version build
.PHONY: clean-pkg .PHONY: clean-pkg
clean-pkg: clean-pkg:
@echo "Cleaning package artifacts..." @echo "Cleaning package artifacts..."
@rm -f *.deb rm -f ../$(BINARY_NAME)_*.deb ../$(BINARY_NAME)_*.changes ../$(BINARY_NAME)_*.buildinfo
@echo "Package cleanup complete"
# Show help # Show help
.PHONY: help .PHONY: help
help: help:
@echo "Available targets:" @echo "Available targets:"
@echo " build - Build the router_backup binary" @echo " build - Build the router_backup binary"
@echo " clean - Remove build artifacts" @echo " clean - Remove build artifacts"
@echo " test - Run tests" @echo " test - Run tests"
@echo " fmt - Format Go code" @echo " fmt - Format Go code"
@echo " sync-version - Sync version from debian/changelog to Go source" @echo " sync-version - Sync version from debian/changelog to Go source"
@echo " pkg-deb - Create Debian package" @echo " pkg-deb - Create Debian package"
@echo " clean-pkg - Remove package artifacts" @echo " clean-pkg - Remove package artifacts"
@echo " help - Show this help message" @echo " help - Show this help message"

13
debian/changelog vendored
View File

@ -1,3 +1,14 @@
ipng-router-backup (1.0.1) stable; urgency=low
* Add version information to help output
* Add --version/-v flag support
* Add --host flag for selective device processing
* Add version sync between Debian package and binary
* Remove .txt suffix from output files
* Rename binary to ipng-router-backup
-- Pim van Pelt <pim@ipng.ch> Sun, 06 Jul 2025 10:45:00 +0100
ipng-router-backup (1.0.0) stable; urgency=low ipng-router-backup (1.0.0) stable; urgency=low
* Initial release * Initial release
@ -7,4 +18,4 @@ ipng-router-backup (1.0.0) stable; urgency=low
* Command output concatenation with headers * Command output concatenation with headers
* Go implementation for better performance * Go implementation for better performance
-- Pim van Pelt <pim@ipng.ch> Sat, 05 Jul 2025 23:55:00 +0100 -- Pim van Pelt <pim@ipng.ch> Sat, 05 Jul 2025 23:55:00 +0100

2
debian/files vendored
View File

@ -1,2 +0,0 @@
ipng-router-backup_1.0.0_amd64.buildinfo net optional
ipng-router-backup_1.0.0_amd64.deb net optional

View File

@ -17,7 +17,7 @@ import (
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
) )
const Version = "1.0.0" const Version = "1.0.1"
// Config structures // Config structures
type Config struct { type Config struct {