3 Commits

Author SHA1 Message Date
60feeffb71 docs: add fish completion section to the readme
All checks were successful
build and upload / build (push) Successful in 15s
2025-05-03 02:13:10 +02:00
f02517fdd3 build: avoid removing rpmbuild dir each times
All checks were successful
build and upload / build (push) Successful in 15s
2025-05-03 02:04:43 +02:00
d341c12009 build: fix git-cliff version compare url
All checks were successful
build and upload / build (push) Successful in 15s
2025-05-03 01:37:16 +02:00
3 changed files with 10 additions and 3 deletions

View File

@@ -19,8 +19,7 @@ format:
cargo fmt --all
rpm:
rm -rf $(HOME)/rpmbuild
rpmdev-setuptree
rm -f $(HOME)/rpmbuild/SOURCES/$(PROJECT)-$(VERSION).tar.gz
tar -czf $(HOME)/rpmbuild/SOURCES/$(PROJECT)-$(VERSION).tar.gz \
--transform "s|^|$(PROJECT)-$(VERSION)/|" \
data \

View File

@@ -12,6 +12,14 @@ Please refer to the [DOCUMENTATION.md](DOCUMENTATION.md) file for more informati
Please refer to project's [releases](https://git.rawleenc.dev/rawleenc/feddy/releases), copy the RPM package link of the latest version and install it with dnf.
## Generate Fish completion
You can generate the fish completion script by running the following command:
```bash
feddy --completion=fish > ~/.config/fish/completions/feddy.fish
```
## Build from source
This is a Rust project, so you must first install [Rust](https://www.rust-lang.org/tools/install) and then run the following command to build the project:

View File

@@ -20,7 +20,7 @@ body = """
{% if version %}\
{% if previous.version %}\
## [{{ version | trim_start_matches(pat="v") }}]\
($REPO/-/compare/{{ previous.version }}...{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
($REPO/compare/{{ previous.version }}...{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\