Merge pull request #1442 from LemmyNet/fix_deploy_version_1

Fixing deploy version.
This commit is contained in:
Nutomic 2021-02-19 18:09:27 +00:00 committed by GitHub
commit 7548b44d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"