From ec146a0dea8cd3e2a98496fb5ad6a3f715972c70 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 c9d52215a..8a709dcd9 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 ed582e6f1..9bddd86b3 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";