Skip to content

Commit 984dd25

Browse files
chore: bump to 0.9.1, update changelog, show version in help, and improve packaging
1 parent fa30f42 commit 984dd25

4 files changed

Lines changed: 35 additions & 17 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
target: x86_64-unknown-linux-musl
2020
asset_name: fbqueue-linux-x64.tar.gz
2121
example_dir: linux
22+
- os: ubuntu-latest
23+
target: aarch64-unknown-linux-musl
24+
asset_name: fbqueue-linux-arm64.tar.gz
25+
example_dir: linux
2226
- os: windows-latest
2327
target: x86_64-pc-windows-msvc
2428
asset_name: fbqueue-windows-x64.zip
@@ -30,32 +34,33 @@ jobs:
3034
- name: Install Rust
3135
run: rustup update stable && rustup target add ${{ matrix.target }}
3236

33-
- name: Install MUSL (Linux only)
37+
- name: Install MUSL and Cross-compilers (Linux only)
3438
if: runner.os == 'Linux'
35-
run: sudo apt-get install -y musl-tools
39+
run: sudo apt-get update && sudo apt-get install -y musl-tools gcc-aarch64-linux-gnu
3640

3741
- name: Build
3842
run: cargo build --release --target ${{ matrix.target }}
3943

4044
- name: Package (Linux)
4145
if: runner.os == 'Linux'
4246
run: |
43-
mkdir dist
44-
cp target/${{ matrix.target }}/release/fbqueue .
45-
tar -czvf dist/${{ matrix.asset_name }} \
46-
fbqueue \
47-
README.md \
48-
MANUAL.md \
49-
PBS_COMPATIBILITY.md \
50-
examples/${{ matrix.example_dir }}
47+
mkdir -p dist/fbqueue
48+
cp target/${{ matrix.target }}/release/fbqueue dist/fbqueue/
49+
cp README.md MANUAL.md PBS_COMPATIBILITY.md dist/fbqueue/
50+
cp -r examples/${{ matrix.example_dir }} dist/fbqueue/examples
51+
cd dist
52+
tar -czvf ${{ matrix.asset_name }} fbqueue
5153
5254
- name: Package (Windows)
5355
if: runner.os == 'Windows'
5456
shell: pwsh
5557
run: |
56-
New-Item -ItemType Directory -Path dist
57-
Copy-Item "target\${{ matrix.target }}\release\fbqueue.exe" .
58-
Compress-Archive -Path "fbqueue.exe", "README.md", "MANUAL.md", "examples\windows" -DestinationPath "dist\${{ matrix.asset_name }}"
58+
New-Item -ItemType Directory -Path dist\fbqueue
59+
Copy-Item "target\${{ matrix.target }}\release\fbqueue.exe" -Destination dist\fbqueue\
60+
Copy-Item "README.md", "MANUAL.md" -Destination dist\fbqueue\
61+
Copy-Item -Path "examples\windows" -Destination dist\fbqueue\examples -Recurse
62+
cd dist
63+
Compress-Archive -Path "fbqueue" -DestinationPath "${{ matrix.asset_name }}"
5964
6065
- name: Upload Release Asset
6166
uses: softprops/action-gh-release@v1

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fbqueue"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
edition = "2021"
55

66
[dependencies]

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Download the pre-built static binary and place it in your `$PATH`:
3131

3232
```bash
3333
# 1. Download and extract
34-
wget https://github.com/ForblazeProject/fbqueue/releases/download/v0.9.0/fbqueue-linux-x64.tar.gz
34+
wget https://github.com/ForblazeProject/fbqueue/releases/download/v0.9.1/fbqueue-linux-x64.tar.gz
3535
tar -xzvf fbqueue-linux-x64.tar.gz
3636

3737
# 2. Move to your bin directory
@@ -79,10 +79,23 @@ export FBQUEUE_DIR=/var/lib/fbqueue/project_a
7979
fbqueue sub ./calc.sh
8080
```
8181

82+
## 📜 Change Log
83+
84+
### v0.9.1
85+
- **Enhanced PBS Compatibility**: Added support for `qstat -u <user>` filtering.
86+
- **Improved History Display**: `qstat -H` now correctly shows job history in PBS-style format.
87+
- **PBS-Style Submission**: `qsub` now outputs only the job ID (e.g., `1.master`) upon success, matching traditional HPC behavior.
88+
89+
### v0.9.0
90+
- **International Release**: Documentation translated to English and terminology standardized.
91+
- **Delayed Start**: Added human-readable time support for `-a` option (e.g., `+1h`, `18:00`).
92+
- **Resource Efficiency**: Added configurable `inactivity_timeout` and automatic background archiving of old jobs.
93+
- **Zero Management**: Daemon starts automatically on any command and shuts down when idle.
94+
8295
---
8396
### Author
8497
**Forblaze Project**
8598
Website: [https://forblaze-works.com/en/](https://forblaze-works.com/en/)
8699

87100
### License
88-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
101+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() {
4242
}
4343

4444
fn print_help() {
45-
println!("FBQueue (Forblaze Queue) - Simple local job scheduler");
45+
println!("FBQueue (Forblaze Queue) v{} - Simple local job scheduler", env!("CARGO_PKG_VERSION"));
4646
println!("Usage:");
4747
println!(" fbqueue sub [options] <command> [args...] (alias: qsub)");
4848
println!(" fbqueue stat [--style pbs|default] [-H [N]] (alias: qstat)");

0 commit comments

Comments
 (0)