Skip to content

Commit 9e66f63

Browse files
committed
version bump
1 parent 35ff1a7 commit 9e66f63

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

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

66
[dependencies]

src/backup_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use colored::*;
44
use dirs::home_dir;
55
use serde::{Deserialize, Serialize};
66
use std::fs;
7-
use std::path::{Path, PathBuf};
7+
use std::path::PathBuf;
88
use std::process::Command;
99

1010
#[derive(Serialize, Deserialize)]
@@ -202,7 +202,7 @@ fn get_backup_path(custom_path: Option<&str>) -> Result<PathBuf> {
202202
}
203203

204204
fn get_backup_dir() -> Result<PathBuf> {
205-
let mut backup_dir = home_dir()
205+
let backup_dir = home_dir()
206206
.ok_or_else(|| anyhow::anyhow!("Could not determine home directory"))?
207207
.join(".bert")
208208
.join("backups");

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod self_update;
1515
#[command(
1616
name = "bert",
1717
author = "Michael Essiet <emsaa2002@gmail.com>",
18-
version = "0.1.6",
18+
version = env!("CARGO_PKG_VERSION"),
1919
about = "A friendly cross-platform package assistant built on top of Homebrew",
2020
long_about = "Bert 🐕 is a friendly package assistant that leverages Homebrew's package repository to provide \
2121
cross-platform package management. He automatically handles installation of missing \

0 commit comments

Comments
 (0)