Skip to content

Commit 2783c02

Browse files
committed
Release 0.3.0
1 parent d34ec8d commit 2783c02

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "perg"
3-
version = "0.1.0"
3+
version = "0.3.0"
44
authors = ["Federico Guerinoni <guerinoni.federico@gmail.com>"]
55
edition = "2018"
66

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ const FILE: &str = "FILE";
66
const LINE_NUMBER: &str = "line-number";
77
const RECURSIVE: &str = "recursive";
88

9+
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
10+
911
fn main() {
1012
let matches = App::new("perg")
11-
.version("0.1.0")
13+
.version(VERSION)
1214
.author("Federico Guerinoni <guerinoni.federico@gmail.com>")
1315
.about("grep like tool. Search for PATTERNS in each FILE.")
1416
.arg(

0 commit comments

Comments
 (0)