mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Implement new versioning system
See `VERSIONING.md` for details.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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(()) => {}
|
||||
|
||||
Reference in New Issue
Block a user