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/.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
|
||||||
|
|
||||||
|
18
Makefile
18
Makefile
@ -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"
|
||||||
|
11
debian/changelog
vendored
11
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
|
ipng-router-backup (1.0.0) stable; urgency=low
|
||||||
|
|
||||||
* Initial release
|
* Initial release
|
||||||
|
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"
|
"gopkg.in/yaml.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version = "1.0.0"
|
const Version = "1.0.1"
|
||||||
|
|
||||||
// Config structures
|
// Config structures
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
Reference in New Issue
Block a user