Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Saluki committed Jun 19, 2023
1 parent 37dbe5e commit 0d34580
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "watchdog-rs"
description = "Minimalist & multi-region network monitoring tool written in Rust"
license = "AGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
authors = ["Saluki"]
edition = "2021"
readme = "README.md"
Expand Down
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ use cli::alerting;
use crate::cli::{incident, status, init};
use crate::common::error::Error;

const VERSION: &str = env!("CARGO_PKG_VERSION");

#[tokio::main]
async fn main() {

Expand Down Expand Up @@ -186,7 +188,7 @@ fn handle_cli_failure(cli_result: Result<(), Error>) {
fn build_args() -> clap::Command {

Command::new("Network watchdog")
.version("0.3.0")
.version(VERSION)
.about("Detect network incidents accross regions")
.arg_required_else_help(true)
.subcommand(Command::new("init")
Expand Down

0 comments on commit 0d34580

Please sign in to comment.