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 Clone this repo
```sh ```sh
$ git clone https://github.com/eRgo35/ah $ git clone https://github.com/eRgo35/ah
``` ```
Change directory Change directory
```sh ```sh
$ cd ah $ cd ah
``` ```
```sh
$ cargo aur
```
```sh
$ cd target/cargo-aur
```
Install package Install package
```sh ```sh

View File

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