From bcc8dae16bdff600b774f69bd0954271cf44d31f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 19 Feb 2021 13:05:42 -0500 Subject: [PATCH] Fixing deploy version. --- crates/api/src/version.rs | 1 - docker/prod/deploy.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 crates/api/src/version.rs diff --git a/crates/api/src/version.rs b/crates/api/src/version.rs deleted file mode 100644 index 6b250cf5f..000000000 --- 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 c4f9c2c8a..c54e4ac6b 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"