Fixing deploy version.
This commit is contained in:
parent
b014ac44c8
commit
bcc8dae16b
2 changed files with 2 additions and 3 deletions
|
@ -1 +0,0 @@
|
||||||
pub const VERSION: &str = "0.9.8";
|
|
|
@ -9,8 +9,8 @@ new_tag="$1"
|
||||||
# Setting the version on the front end
|
# Setting the version on the front end
|
||||||
cd ../../
|
cd ../../
|
||||||
# Setting the version on the backend
|
# Setting the version on the backend
|
||||||
echo "pub const VERSION: &str = \"$new_tag\";" > "crates/api/src/version.rs"
|
echo "pub const VERSION: &str = \"$new_tag\";" > "crates/utils/src/version.rs"
|
||||||
git add "crates/api/src/version.rs"
|
git add "crates/utils/src/version.rs"
|
||||||
# Setting the version for Ansible
|
# Setting the version for Ansible
|
||||||
echo $new_tag > "ansible/VERSION"
|
echo $new_tag > "ansible/VERSION"
|
||||||
git add "ansible/VERSION"
|
git add "ansible/VERSION"
|
||||||
|
|
Loading…
Reference in a new issue