Skip to content

Commit a31dbe2

Browse files
committed
feat: release adjustments
1 parent 0ace40a commit a31dbe2

File tree

6 files changed

+36
-30
lines changed

6 files changed

+36
-30
lines changed

.github/workflows/build-binaries-and-update-release.yaml renamed to .github/workflows/build-cli.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
name: Build on Release
1+
name: Build CLI
22

33
on:
4-
release:
5-
types: [published]
4+
workflow_dispatch:
65

76
permissions:
87
contents: write
@@ -43,7 +42,7 @@ jobs:
4342
target: ${{ matrix.target }}
4443

4544
- name: Build project
46-
run: cargo build --bin ffzap --release --target ${{ matrix.target }}
45+
run: cargo build --p ffzap --release --target ${{ matrix.target }}
4746

4847
- name: Prepare archive
4948
run: |
@@ -83,6 +82,13 @@ jobs:
8382
- name: Download all artifacts
8483
uses: actions/download-artifact@v4
8584

85+
- name: Get latest release
86+
id: get_latest_release
87+
run: |
88+
LATEST_RELEASE=$(gh api repos/${{ github.repository }}/releases/latest --jq '.tag_name')
89+
echo "latest_release=$LATEST_RELEASE" >> $GITHUB_OUTPUT
90+
echo "Latest release: $LATEST_RELEASE"
91+
8692
- name: Update latest release
8793
uses: softprops/action-gh-release@v2
8894
with:
@@ -91,7 +97,7 @@ jobs:
9197
**/*.exe
9298
**/*.tar.gz
9399
**/*.sha256
94-
tag_name: ${{ github.event.release.tag_name }}
100+
tag_name: ${{ steps.get_latest_release.outputs.latest_release }}
95101
draft: false
96102
prerelease: false
97103
append_body: true

Cargo.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,8 @@ members = ["cli", "core", "ui/src-tauri"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "1.1.2"
76
edition = "2021"
8-
description = "⚡ A multithreaded CLI for digital media processing using ffmpeg. If ffmpeg can do it, ffzap can do it - as many files in parallel as your system can handle."
97
license-file = "license.md"
10-
keywords = [
11-
"ffmpeg",
12-
"media-processing",
13-
"cli",
14-
"audio-conversion",
15-
"video-conversion",
16-
]
178
repository = "https://github.com/CodeF0x/ffzap"
189

1910
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# ffzap ⚡
22

3-
A multithreaded media processing toolkit built with Rust. ffzap provides both command-line and graphical interfaces for batch processing media files using FFmpeg. If FFmpeg can do it, ffzap can do it - as many files in parallel as your system can handle.
4-
5-
## What is ffzap?
6-
7-
ffzap is a high-performance media processing solution that leverages FFmpeg's capabilities with modern Rust performance. It's designed for users who need to process large batches of media files efficiently, whether they prefer command-line tools or graphical interfaces.
3+
A multithreaded media processing toolkit built with Rust. ffzap provides both command-line and graphical interfaces for batch processing media files using FFmpeg. If FFmpeg can do it, ffzap can do it - as many files in parallel as your system can handle. It's designed for users who need to process large batches of media files efficiently, whether they prefer command-line tools or graphical interfaces.
84

95
**Key Features:**
106

@@ -15,6 +11,10 @@ ffzap is a high-performance media processing solution that leverages FFmpeg's ca
1511
- 🔧 **Flexible Output**: Customizable file naming with placeholders
1612
- 📊 **Real-time Progress**: Live progress tracking and detailed logging
1713

14+
## How to install
15+
16+
For the GUI, head to the [latest release](https://github.com/CodeF0x/ffzap/releases/latest), and for the CLI read [its docs](/cli/README.md).
17+
1818
## Project Components
1919

2020
ffzap is organized into three main components:

cli/Cargo.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
[package]
22
name = "ffzap"
3-
version.workspace = true
3+
version = "1.1.2"
44
edition.workspace = true
5-
description.workspace = true
65
license-file.workspace = true
7-
keywords.workspace = true
6+
keywords = [
7+
"ffmpeg",
8+
"media-processing",
9+
"cli",
10+
"audio-conversion",
11+
"video-conversion",
12+
]
13+
description = "⚡ A multithreaded CLI for digital media processing using ffmpeg. If ffmpeg can do it, ffzap can do it - as many files in parallel as your system can handle."
814
repository.workspace = true
915

1016
[dependencies]

core/Cargo.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
[package]
22
name = "ffzap_core"
3-
version.workspace = true
3+
version = "1.1.2"
44
edition.workspace = true
5-
description.workspace = true
65
license-file.workspace = true
7-
keywords.workspace = true
86
repository.workspace = true
7+
keywords = [
8+
"ffmpeg",
9+
"media-processing",
10+
"cli",
11+
"audio-conversion",
12+
"video-conversion",
13+
]
14+
description = "The core library crate for the ffzap cli and ui."
915

1016
[dependencies]
1117
chrono.workspace = true

ui/src-tauri/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[package]
22
name = "ffzap_ui"
3-
version.workspace = true
3+
version = "1.1.2"
44
edition.workspace = true
5-
description.workspace = true
65
license-file.workspace = true
7-
keywords.workspace = true
86
repository.workspace = true
7+
publish = false
98

109
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1110

@@ -26,6 +25,4 @@ serde = { workspace = true, features = ["derive"] }
2625
serde_json = "1"
2726
ffzap_core = { path = "../../core", features = ["ui"] }
2827
tauri-plugin-dialog = "2"
29-
30-
[target.'cfg(windows)'.dependencies]
3128
sysinfo = "0.36.1"

0 commit comments

Comments
 (0)