mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 11:51:32 +00:00
Adding git add to deploy.
This commit is contained in:
parent
d892a4f28c
commit
68445a48a5
1 changed files with 3 additions and 2 deletions
5
docker/dev/deploy.sh
vendored
5
docker/dev/deploy.sh
vendored
|
@ -3,7 +3,8 @@ git checkout master
|
||||||
|
|
||||||
# Import translations
|
# Import translations
|
||||||
wget "https://weblate.yerbamate.dev/download/lemmy/lemmy/?format=zip" -O /tmp/lemmy_l10n.zip
|
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
|
rm /tmp/lemmy_l10n.zip
|
||||||
|
|
||||||
# Creating the new tag
|
# 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"
|
echo "pub const VERSION: &str = \"$new_tag\";" > "server/src/version.rs"
|
||||||
git add "server/src/version.rs"
|
git add "server/src/version.rs"
|
||||||
# Setting the version for Ansible
|
# Setting the version for Ansible
|
||||||
$new_tag > "ansible/VERSION"
|
echo $new_tag > "ansible/VERSION"
|
||||||
git add "ansible/VERSION"
|
git add "ansible/VERSION"
|
||||||
|
|
||||||
cd docker/dev || exit
|
cd docker/dev || exit
|
||||||
|
|
Loading…
Reference in a new issue