Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Implement new versioning system
cloudhead committed 2 years ago
commit 1b8fee265a7f906a5b0d06fe3f7543b7a7216a02
parent 22c83c556f54249acf6613d4df9c2cd5e5ba876e
3 files changed +3 -3
modified radicle-httpd/src/api.rs
@@ -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;
modified radicle-httpd/src/commands/web.rs
@@ -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

modified radicle-httpd/src/main.rs
@@ -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(()) => {}