widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #03216
Re: [Merge] lp:~widelands-dev/widelands/bug-1219914 into lp:widelands
> set -ex or something along these lines.
What is -ex?
Diff comments:
> === added file 'utils/merge_and_push_translations.sh'
> --- utils/merge_and_push_translations.sh 1970-01-01 00:00:00 +0000
> +++ utils/merge_and_push_translations.sh 2014-11-25 12:53:25 +0000
> @@ -0,0 +1,22 @@
> +## This script will fix translations in the translation branch
> +## and then push the fix to the translations branch on Launchpad.
> +## Afterwards, the translations branch will be merged into trunk,
> +## the catalogs be updated and the result pushed to trunk on Launchpad.
> +
What is -ex?
> +# Fix LF in translation branch.
> +cd ../translations && bzr pull
> +utils/remove_lf_in_translations.py
> +bzr add po
> +bzr commit -m "Fixed LF in translations." || true
> +bzr push lp:~widelands-dev/widelands/translations
> +
> +# Merge translations.
> +cd ../trunk && bzr pull
> +bzr merge lp:~widelands-dev/widelands/translations
> +bzr commit -m "Merged translations."
> +
> +# Update catalogues.
> +utils/buildcat.py
> +bzr add po
> +bzr commit -m "Updated catalogues."
> +bzr push lp:widelands
>
--
https://code.launchpad.net/~widelands-dev/widelands/bug-1219914/+merge/242772
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1219914.
References