Release v1.0.1, clean up debian build
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,8 +4,8 @@ ipng-router-backup
|
||||
debian/.debhelper/
|
||||
debian/.gocache/
|
||||
debian/go/
|
||||
debian/files
|
||||
debian/ipng-router-backup/
|
||||
debian/*.substvars
|
||||
debian/debhelper-build-stamp
|
||||
debian/*.debhelper
|
||||
|
||||
|
18
Makefile
18
Makefile
@ -30,7 +30,6 @@ build: sync-version
|
||||
clean:
|
||||
@echo "Cleaning build artifacts..."
|
||||
rm -f $(BUILD_DIR)/$(BINARY_NAME)
|
||||
@echo "Clean complete"
|
||||
|
||||
# Run tests
|
||||
.PHONY: test
|
||||
@ -53,18 +52,17 @@ pkg-deb: sync-version build
|
||||
.PHONY: clean-pkg
|
||||
clean-pkg:
|
||||
@echo "Cleaning package artifacts..."
|
||||
@rm -f *.deb
|
||||
@echo "Package cleanup complete"
|
||||
rm -f ../$(BINARY_NAME)_*.deb ../$(BINARY_NAME)_*.changes ../$(BINARY_NAME)_*.buildinfo
|
||||
|
||||
# Show help
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo "Available targets:"
|
||||
@echo " build - Build the router_backup binary"
|
||||
@echo " clean - Remove build artifacts"
|
||||
@echo " test - Run tests"
|
||||
@echo " fmt - Format Go code"
|
||||
@echo " build - Build the router_backup binary"
|
||||
@echo " clean - Remove build artifacts"
|
||||
@echo " test - Run tests"
|
||||
@echo " fmt - Format Go code"
|
||||
@echo " sync-version - Sync version from debian/changelog to Go source"
|
||||
@echo " pkg-deb - Create Debian package"
|
||||
@echo " clean-pkg - Remove package artifacts"
|
||||
@echo " help - Show this help message"
|
||||
@echo " pkg-deb - Create Debian package"
|
||||
@echo " clean-pkg - Remove package artifacts"
|
||||
@echo " help - Show this help message"
|
||||
|
13
debian/changelog
vendored
13
debian/changelog
vendored
@ -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
|
||||
|
||||
* Initial release
|
||||
@ -7,4 +18,4 @@ ipng-router-backup (1.0.0) stable; urgency=low
|
||||
* Command output concatenation with headers
|
||||
* 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
2
debian/files
vendored
@ -1,2 +0,0 @@
|
||||
ipng-router-backup_1.0.0_amd64.buildinfo net optional
|
||||
ipng-router-backup_1.0.0_amd64.deb net optional
|
@ -17,7 +17,7 @@ import (
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
const Version = "1.0.0"
|
||||
const Version = "1.0.1"
|
||||
|
||||
// Config structures
|
||||
type Config struct {
|
||||
|
Reference in New Issue
Block a user