Skip to content

Commit e7dccfe

Browse files
committed
chore: rename package from querymt-tui to qmtui
- Update binary and package name in Cargo.toml - Update CI/CD workflows (build, release, nightly) to use new binary name, artifact names, and download patterns - Update git remote origin to match renamed repository - Update README heading
1 parent 4048716 commit e7dccfe

6 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
jobs:
2020
build:
21-
name: Build querymt-tui for ${{ matrix.target }}
21+
name: Build qmtui for ${{ matrix.target }}
2222
runs-on: ${{ matrix.os }}
2323

2424
strategy:
@@ -28,21 +28,21 @@ jobs:
2828
# ─── Linux (Static MUSL) ──────────────────────────────────────────
2929
- os: ubuntu-latest
3030
target: x86_64-unknown-linux-musl
31-
bin_name: querymt-tui
31+
bin_name: qmtui
3232
archive_ext: tar.gz
3333
- os: ubuntu-latest
3434
target: aarch64-unknown-linux-musl
35-
bin_name: querymt-tui
35+
bin_name: qmtui
3636
archive_ext: tar.gz
3737

3838
# ─── macOS ────────────────────────────────────────────────────────
3939
- os: macos-14
4040
target: x86_64-apple-darwin
41-
bin_name: querymt-tui
41+
bin_name: qmtui
4242
archive_ext: tar.gz
4343
- os: macos-14
4444
target: aarch64-apple-darwin
45-
bin_name: querymt-tui
45+
bin_name: qmtui
4646
archive_ext: tar.gz
4747

4848
# TODO: add Windows targets (x86_64-pc-windows-msvc, aarch64-pc-windows-msvc)
@@ -71,14 +71,14 @@ jobs:
7171

7272
- name: Build
7373
env:
74-
QUERYMT_TUI_VERSION: ${{ inputs.version_name }}
75-
run: cargo build --release --bin querymt-tui --target ${{ matrix.target }}
74+
QMTUI_VERSION: ${{ inputs.version_name }}
75+
run: cargo build --release --bin qmtui --target ${{ matrix.target }}
7676

7777
- name: Prepare artifact
7878
shell: bash
7979
run: |
8080
ARTIFACT_DIR="dist"
81-
PKG="querymt-tui-${{ inputs.version_name }}-${{ matrix.target }}"
81+
PKG="qmtui-${{ inputs.version_name }}-${{ matrix.target }}"
8282
STAGING="$ARTIFACT_DIR/$PKG"
8383
mkdir -p "$STAGING"
8484
cp "target/${{ matrix.target }}/release/${{ matrix.bin_name }}" "$STAGING/"
@@ -89,5 +89,5 @@ jobs:
8989
- name: Upload artifact
9090
uses: actions/upload-artifact@v4
9191
with:
92-
name: querymt-tui-${{ matrix.target }}
92+
name: qmtui-${{ matrix.target }}
9393
path: ${{ env.ASSET_PATH }}

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
uses: actions/download-artifact@v4
7474
with:
7575
path: artifacts/
76-
pattern: 'querymt-tui-*'
76+
pattern: 'qmtui-*'
7777
merge-multiple: true
7878

7979
# Delete the existing nightly tag and release to ensure fresh artifacts

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/download-artifact@v4
2929
with:
3030
path: artifacts/
31-
pattern: 'querymt-tui-*'
31+
pattern: 'qmtui-*'
3232
merge-multiple: true
3333

3434
- name: Create Release and Upload Assets

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
2-
name = "querymt-tui"
2+
name = "qmtui"
33
description = "A Rust TUI frontend for QueryMT agent."
44
authors = [
55
"Ivan Zatevakhin <ivan@query.mt>"
66
]
7-
repository = "https://github.com/querymt/querymt-tui"
7+
repository = "https://github.com/querymt/qmtui"
88
homepage = "https://query.mt"
99
version = "0.1.0"
1010
edition = "2024"
1111
license = "MIT"
1212

1313
[[bin]]
14-
name = "querymt-tui"
14+
name = "qmtui"
1515
path = "src/main.rs"
1616

1717
[dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# querymt-tui
1+
# qmtui

0 commit comments

Comments
 (0)