From: Dessalines Date: Thu, 2 Jan 2020 15:34:40 +0000 (-0500) Subject: Fixing deploy and version for clippy. X-Git-Url: http://these/git/%7B%60%24%7BghostArchiveUrl%7D/%22%7Burl%7D/static/%7BlocalRss%7D?a=commitdiff_plain;h=dc331d5293f1853e3ea47d23956595381d9d73ed;p=lemmy.git Fixing deploy and version for clippy. --- 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";