automatic version bump

This commit is contained in:
2024-08-04 23:50:53 +02:00
parent 441a2a2367
commit 7268726e82
2 changed files with 14 additions and 2 deletions

View File

@@ -23,15 +23,25 @@ $ rustup default stable
```
Clone this repo
```sh
$ git clone https://github.com/eRgo35/ah
$ git clone https://github.com/eRgo35/ah
```
Change directory
```sh
$ cd ah
```
```sh
$ cargo aur
```
```sh
$ cd target/cargo-aur
```
Install package
```sh

View File

@@ -1,10 +1,12 @@
use clap::{Args, Parser, Subcommand};
const VERSION: Option<&str> = option_env!("CARGO_PKG_VERSION");
#[derive(Parser)]
#[command(
name = "ah",
author = "Michał Czyż",
version = "0.1.0",
version = VERSION.unwrap_or("unknown"),
about = "A declarative package manager for Arch Linux",
long_about = "Arch Helper is a declarative package management tool for Arch Linux. It leverages paru or other package managers for seamless integration."
)]