From: Dessalines Date: Sat, 29 Feb 2020 20:49:09 +0000 (-0500) Subject: Adding git add to deploy. X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7BmarkdownHelpUrl%7D?a=commitdiff_plain;h=565524a80ba107e4985a2ac6b7bf790572468ce8;p=lemmy.git Adding git add to deploy. --- diff --git a/docker/dev/deploy.sh b/docker/dev/deploy.sh index 30500b5a..94a2fa91 100755 --- a/docker/dev/deploy.sh +++ b/docker/dev/deploy.sh @@ -3,7 +3,8 @@ git checkout master # Import translations wget "https://weblate.yerbamate.dev/download/lemmy/lemmy/?format=zip" -O /tmp/lemmy_l10n.zip -unzip -j -o /tmp/lemmy_l10n.zip -d ui/translations/ +unzip -j -o /tmp/lemmy_l10n.zip -d ../../ui/translations/ +git add ../../ui/translations rm /tmp/lemmy_l10n.zip # Creating the new tag @@ -18,7 +19,7 @@ git add "ui/src/version.ts" echo "pub const VERSION: &str = \"$new_tag\";" > "server/src/version.rs" git add "server/src/version.rs" # Setting the version for Ansible -$new_tag > "ansible/VERSION" +echo $new_tag > "ansible/VERSION" git add "ansible/VERSION" cd docker/dev || exit