From: Dessalines Date: Fri, 19 Feb 2021 18:05:42 +0000 (-0500) Subject: Fixing deploy version. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7B%27/README.md?a=commitdiff_plain;h=bcc8dae16bdff600b774f69bd0954271cf44d31f;p=lemmy.git Fixing deploy version. --- diff --git a/crates/api/src/version.rs b/crates/api/src/version.rs deleted file mode 100644 index 6b250cf5..00000000 --- a/crates/api/src/version.rs +++ /dev/null @@ -1 +0,0 @@ -pub const VERSION: &str = "0.9.8"; diff --git a/docker/prod/deploy.sh b/docker/prod/deploy.sh index c4f9c2c8..c54e4ac6 100755 --- a/docker/prod/deploy.sh +++ b/docker/prod/deploy.sh @@ -9,8 +9,8 @@ new_tag="$1" # Setting the version on the front end cd ../../ # Setting the version on the backend -echo "pub const VERSION: &str = \"$new_tag\";" > "crates/api/src/version.rs" -git add "crates/api/src/version.rs" +echo "pub const VERSION: &str = \"$new_tag\";" > "crates/utils/src/version.rs" +git add "crates/utils/src/version.rs" # Setting the version for Ansible echo $new_tag > "ansible/VERSION" git add "ansible/VERSION"