From dc331d5293f1853e3ea47d23956595381d9d73ed Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 2 Jan 2020 10:34:40 -0500 Subject: [PATCH] Fixing deploy and version for clippy. --- docker/dev/deploy.sh | 2 +- server/src/version.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/dev/deploy.sh b/docker/dev/deploy.sh index c9d52215..8a709dcd 100755 --- a/docker/dev/deploy.sh +++ b/docker/dev/deploy.sh @@ -12,7 +12,7 @@ cd ../../ echo "export let version: string = '$(git describe --tags)';" > "ui/src/version.ts" git add "ui/src/version.ts" # Setting the version on the backend -echo "pub const VERSION: &'static str = \"$(git describe --tags)\";" > "server/src/version.rs" +echo "pub const VERSION: &str = \"$(git describe --tags)\";" > "server/src/version.rs" git add "server/src/version.rs" cd docker/dev diff --git a/server/src/version.rs b/server/src/version.rs index ed582e6f..9bddd86b 100644 --- a/server/src/version.rs +++ b/server/src/version.rs @@ -1 +1 @@ -pub const VERSION: &'static str = "v0.5.13"; +pub const VERSION: &str = "v0.5.13"; -- 2.44.1