diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dab4171..c8e9b44 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ Be respectful, constructive, and professional in all interactions. We're buildin **Bug Report Template:** ``` -**Version:** dbbackup v3.40.0 +**Version:** dbbackup v3.42.0 **OS:** Linux/macOS/BSD **Database:** PostgreSQL 14 / MySQL 8.0 / MariaDB 10.6 **Command:** The exact command that failed diff --git a/README.md b/README.md index 284fa17..ea0a940 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Download from [releases](https://git.uuxo.net/UUXO/dbbackup/releases): ```bash # Linux x86_64 -wget https://git.uuxo.net/UUXO/dbbackup/releases/download/v3.40.0/dbbackup-linux-amd64 +wget https://git.uuxo.net/UUXO/dbbackup/releases/download/v3.42.0/dbbackup-linux-amd64 chmod +x dbbackup-linux-amd64 sudo mv dbbackup-linux-amd64 /usr/local/bin/dbbackup ``` diff --git a/bin/README.md b/bin/README.md index e443244..2eed054 100644 --- a/bin/README.md +++ b/bin/README.md @@ -1,22 +1,11 @@ # DB Backup Tool - Pre-compiled Binaries -## Download - -**Binaries are distributed via GitHub Releases:** - -📦 **https://github.com/PlusOne/dbbackup/releases** - -Or build from source: -```bash -git clone https://github.com/PlusOne/dbbackup.git -cd dbbackup -./build_all.sh -``` +This directory contains pre-compiled binaries for the DB Backup Tool across multiple platforms and architectures. ## Build Information -- **Version**: 3.40.0 -- **Build Time**: 2026-01-07_10:55:47_UTC -- **Git Commit**: 495ee31 +- **Version**: 3.42.0 +- **Build Time**: 2026-01-07_14:05:23_UTC +- **Git Commit**: c519f08 ## Recent Updates (v1.1.0) - ✅ Fixed TUI progress display with line-by-line output diff --git a/build_all.sh b/build_all.sh index d9ce251..ae25b85 100755 --- a/build_all.sh +++ b/build_all.sh @@ -15,7 +15,7 @@ echo "🔧 Using Go version: $GO_VERSION" # Configuration APP_NAME="dbbackup" -VERSION="3.40.0" +VERSION="3.42.0" BUILD_TIME=$(date -u '+%Y-%m-%d_%H:%M:%S_UTC') GIT_COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown") BIN_DIR="bin" diff --git a/internal/engine/clone.go b/internal/engine/clone.go index 8ec1096..7007081 100644 --- a/internal/engine/clone.go +++ b/internal/engine/clone.go @@ -339,7 +339,7 @@ func (e *CloneEngine) Backup(ctx context.Context, opts *BackupOptions) (*BackupR // Save metadata meta := &metadata.BackupMetadata{ - Version: "3.40.0", + Version: "3.42.0", Timestamp: startTime, Database: opts.Database, DatabaseType: "mysql", diff --git a/internal/engine/mysqldump.go b/internal/engine/mysqldump.go index 3ca989e..9a6db7f 100644 --- a/internal/engine/mysqldump.go +++ b/internal/engine/mysqldump.go @@ -254,7 +254,7 @@ func (e *MySQLDumpEngine) Backup(ctx context.Context, opts *BackupOptions) (*Bac // Save metadata meta := &metadata.BackupMetadata{ - Version: "3.40.0", + Version: "3.42.0", Timestamp: startTime, Database: opts.Database, DatabaseType: "mysql", diff --git a/internal/engine/snapshot_engine.go b/internal/engine/snapshot_engine.go index fece515..caa1a4e 100644 --- a/internal/engine/snapshot_engine.go +++ b/internal/engine/snapshot_engine.go @@ -223,7 +223,7 @@ func (e *SnapshotEngine) Backup(ctx context.Context, opts *BackupOptions) (*Back // Save metadata meta := &metadata.BackupMetadata{ - Version: "3.40.0", + Version: "3.42.0", Timestamp: startTime, Database: opts.Database, DatabaseType: "mysql", diff --git a/main.go b/main.go index 26ce0cc..f9ae6a8 100755 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( // Build information (set by ldflags) var ( - version = "3.40.0" + version = "3.42.0" buildTime = "unknown" gitCommit = "unknown" )