Skip to content

Commit

Permalink
Merge pull request #1442 from LemmyNet/fix_deploy_version_1
Browse files Browse the repository at this point in the history
Fixing deploy version.
  • Loading branch information
Nutomic committed Feb 19, 2021
2 parents b014ac4 + bcc8dae commit 7548b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/api/src/version.rs

This file was deleted.

4 changes: 2 additions & 2 deletions docker/prod/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7548b44

Please sign in to comment.