Implement new versioning system

See `VERSIONING.md` for details.
This commit is contained in:
cloudhead
2024-03-25 11:54:08 +01:00
parent 22c83c556f
commit 1b8fee265a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ use crate::api::error::Error;
use crate::cache::Cache;
use crate::Options;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const VERSION: &str = env!("RADICLE_VERSION");
/// Identifier for sessions
type SessionId = String;
+1 -1
View File
@@ -16,7 +16,7 @@ use radicle_cli::terminal::args::{Args, Error, Help};
pub const HELP: Help = Help {
name: "web",
description: "Run the HTTP daemon and connect the web explorer to it",
version: env!("CARGO_PKG_VERSION"),
version: env!("RADICLE_VERSION"),
usage: r#"
Usage
+1 -1
View File
@@ -10,7 +10,7 @@ async fn main() -> anyhow::Result<()> {
// SAFETY: The logger is only initialized once.
httpd::logger::init().unwrap();
tracing::info!("version {}-{}", env!("CARGO_PKG_VERSION"), env!("GIT_HEAD"));
tracing::info!("version {}-{}", env!("RADICLE_VERSION"), env!("GIT_HEAD"));
match httpd::run(options).await {
Ok(()) => {}