aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-09-29 16:54:27 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-09-29 16:54:27 +0200
commit5a738121c04989e1bdcb728347f12e677adf3bd4 (patch)
treee47c1e732bacac41b5b1ace02a39687a58567c34 /.github/workflows
parent5c51cd28a928c44232e625279691da17e55858de (diff)
downloadele-5a738121c04989e1bdcb728347f12e677adf3bd4.tar.gz
ele-5a738121c04989e1bdcb728347f12e677adf3bd4.zip
Rename crate and CLI to aif
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ffb6559..691e2f5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -118,15 +118,15 @@ jobs:
- name: Build and check CLI
run: |
cargo build --release --locked --target "$TARGET"
- binary="target/$TARGET/release/aip-filter"
- test "$("$binary" --version)" = "aip-filter $VERSION"
+ binary="target/$TARGET/release/aif"
+ test "$("$binary" --version)" = "aif $VERSION"
printf '{"n":1}\n{"n":2}\n' | "$binary" 'n > 1' > target/smoke.jsonl
printf '{"n":2}\n' > target/expected.jsonl
cmp target/expected.jsonl target/smoke.jsonl
- name: Verify static Linux executable
if: runner.os == 'Linux'
run: |
- readelf -l "target/$TARGET/release/aip-filter" > target/elf-headers
+ readelf -l "target/$TARGET/release/aif" > target/elf-headers
if grep -q INTERP target/elf-headers; then
echo 'The Linux executable requires a dynamic loader.' >&2
exit 1
@@ -134,14 +134,14 @@ jobs:
- name: Archive CLI
run: |
mkdir -p target/release-dist
- COPYFILE_DISABLE=1 tar -czf "target/release-dist/aip-filter-v$VERSION-$TARGET.tar.gz" \
- -C "target/$TARGET/release" aip-filter -C "$GITHUB_WORKSPACE" LICENSE README.md
+ COPYFILE_DISABLE=1 tar -czf "target/release-dist/aif-v$VERSION-$TARGET.tar.gz" \
+ -C "target/$TARGET/release" aif -C "$GITHUB_WORKSPACE" LICENSE README.md
- name: Verify library package
if: runner.os == 'Linux'
run: |
cargo package --locked
- cargo test --locked --manifest-path "target/package/aip_filter-$VERSION/Cargo.toml"
- cp "target/package/aip_filter-$VERSION.crate" target/release-dist/
+ cargo test --locked --manifest-path "target/package/aif-$VERSION/Cargo.toml"
+ cp "target/package/aif-$VERSION.crate" target/release-dist/
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: release-assets-${{ matrix.target }}
@@ -183,9 +183,9 @@ jobs:
path: target/release-dist
- name: Verify asset set and generate checksums
run: |
- test -f "target/release-dist/aip-filter-v$VERSION-x86_64-unknown-linux-musl.tar.gz"
- test -f "target/release-dist/aip-filter-v$VERSION-aarch64-apple-darwin.tar.gz"
- test -f "target/release-dist/aip_filter-$VERSION.crate"
+ test -f "target/release-dist/aif-v$VERSION-x86_64-unknown-linux-musl.tar.gz"
+ test -f "target/release-dist/aif-v$VERSION-aarch64-apple-darwin.tar.gz"
+ test -f "target/release-dist/aif-$VERSION.crate"
test "$(find target/release-dist -maxdepth 1 -type f | wc -l)" -eq 3
cd target/release-dist
sha256sum *.tar.gz *.crate > SHA256SUMS