Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,26 @@ jobs:
target: x86_64-unknown-linux-gnu
artifact_name: database-replicator
asset_name: database-replicator-linux-x64-binary
watcher_artifact: sqlite-watcher
watcher_asset: sqlite-watcher-linux-x64
- os: macos-latest
target: x86_64-apple-darwin
artifact_name: database-replicator
asset_name: database-replicator-macos-x64-binary
watcher_artifact: sqlite-watcher
watcher_asset: sqlite-watcher-macos-x64
- os: macos-latest
target: aarch64-apple-darwin
artifact_name: database-replicator
asset_name: database-replicator-macos-arm64-binary
watcher_artifact: sqlite-watcher
watcher_asset: sqlite-watcher-macos-arm64
- os: windows-latest
target: x86_64-pc-windows-msvc
artifact_name: database-replicator.exe
asset_name: database-replicator-windows-x64.exe
watcher_artifact: sqlite-watcher.exe
watcher_asset: sqlite-watcher-windows-x64.exe
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,6 +83,9 @@ jobs:
- name: Build release binary
run: cargo build --release --target ${{ matrix.target }} --verbose

- name: Build sqlite-watcher binary
run: cargo build --release --target ${{ matrix.target }} -p sqlite-watcher --verbose

- name: Strip binary (Linux)
if: matrix.os == 'ubuntu-latest'
run: strip target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
Expand All @@ -89,19 +100,38 @@ jobs:
cp target/${{ matrix.target }}/release/${{ matrix.artifact_name }} ${{ matrix.asset_name }}
chmod +x ${{ matrix.asset_name }}

- name: Rename sqlite-watcher (Unix)
if: matrix.os != 'windows-latest'
run: |
cp target/${{ matrix.target }}/release/${{ matrix.watcher_artifact }} ${{ matrix.watcher_asset }}
chmod +x ${{ matrix.watcher_asset }}

- name: Rename binary (Windows)
if: matrix.os == 'windows-latest'
run: |
copy target\${{ matrix.target }}\release\${{ matrix.artifact_name }} ${{ matrix.asset_name }}
shell: cmd

- name: Rename sqlite-watcher (Windows)
if: matrix.os == 'windows-latest'
run: |
copy target\${{ matrix.target }}\release\${{ matrix.watcher_artifact }} ${{ matrix.watcher_asset }}
shell: cmd

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.asset_name }}
path: ${{ matrix.asset_name }}
if-no-files-found: error

- name: Upload sqlite-watcher artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.watcher_asset }}
path: ${{ matrix.watcher_asset }}
if-no-files-found: error

create-release:
name: Create GitHub Release
needs: build-release
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ All notable changes to this project will be documented in this file.

### Changed

- **README-SQLite.md**: Updated all examples to include `-y` flag and added notes explaining that interactive mode only works with PostgreSQL sources.
- **sqlite-watcher-docs/README-SQLite.md**: Updated all examples to include `-y` flag and added notes explaining that interactive mode only works with PostgreSQL sources.

## [7.0.4] - 2025-12-09

Expand Down Expand Up @@ -408,7 +408,7 @@ All notable changes to this project will be documented in this file.
- **File-based migration** (local execution only, no remote support)
- **Path validation** with directory traversal prevention
- **Comprehensive security testing**: 14 SQLite-specific tests
- **Documentation**: [README-SQLite.md](README-SQLite.md) with usage examples
- **Documentation**: [sqlite-watcher-docs/README-SQLite.md](sqlite-watcher-docs/README-SQLite.md) with usage examples
- **Integration tests**: Full workflow testing with real SQLite files

#### MongoDB Support (Phase 2)
Expand Down Expand Up @@ -491,7 +491,7 @@ All notable changes to this project will be documented in this file.

- **[README.md](README.md)** - Universal landing page with multi-database support
- **[README-PostgreSQL.md](README-PostgreSQL.md)** - Comprehensive PostgreSQL replication guide (1,000+ lines)
- **[README-SQLite.md](README-SQLite.md)** - Complete SQLite migration guide
- **[sqlite-watcher-docs/README-SQLite.md](sqlite-watcher-docs/README-SQLite.md)** - Complete SQLite migration guide
- **[README-MongoDB.md](README-MongoDB.md)** - Complete MongoDB migration guide with periodic refresh
- **[README-MySQL.md](README-MySQL.md)** - Complete MySQL/MariaDB migration guide
- **[docs/plans/multi-database-support.md](docs/plans/multi-database-support.md)** - Implementation plan and architecture
Expand Down
Loading
Loading