Fixing deploy version.

This commit is contained in:
Dessalines 2021-02-19 13:05:42 -05:00
parent b014ac44c8
commit bcc8dae16b
2 changed files with 2 additions and 3 deletions

View file

@ -1 +0,0 @@
pub const VERSION: &str = "0.9.8";

View file

@ -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"