Fixing deploy version.

pull/1442/head
Dessalines 3 years ago
parent b014ac44c8
commit bcc8dae16b

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

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

Loading…
Cancel
Save