mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Merge pull request #1442 from LemmyNet/fix_deploy_version_1
Fixing deploy version.
This commit is contained in:
commit
7548b44d1b
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
|
||||
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…
Reference in a new issue