Fixed typo
This commit is contained in:
parent
0ef63bea9a
commit
93da97452d
2 changed files with 13 additions and 1 deletions
12
front/scripts/i18n-weblate-to-origin.sh
Executable file
12
front/scripts/i18n-weblate-to-origin.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash -eux
|
||||
integration_branch="translations-integration"
|
||||
git remote add weblate https://translate.funkwhale.audio/git/funkwhale/front/ || echo "remote already exists"
|
||||
git fetch weblate
|
||||
git checkout weblate/develop
|
||||
git reset --hard weblate/develop
|
||||
git checkout -b $integration_branch || git checkout $integration_branch
|
||||
git reset --hard weblate/develop
|
||||
git push -f origin $integration_branch
|
||||
|
||||
echo "Branch created on pushed on origin/$integration_branch"
|
||||
echo "Open a merge request by visiting https://code.eliotberriot.com/funkwhale/funkwhale/merge_requests/new?merge_request%5Bsource_branch%5D=$integration_branch"
|
||||
Loading…
Add table
Add a link
Reference in a new issue