From: Silvio Rhatto Date: Thu, 2 Oct 2014 18:00:27 +0000 (-0300) Subject: Git instructions X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;ds=sidebyside;p=brweather.git Git instructions --- diff --git a/Git.md b/Git.md new file mode 100644 index 0000000..9289b8d --- /dev/null +++ b/Git.md @@ -0,0 +1,43 @@ +Repositório Git +=============== + +Estas são informações não-oficiais sobre a sincronização do BrWeather +num repositório git. + +Atualizando +----------- + +No repositório git: + + git checkout develop + +Numa pasta temporária: + + VERSION="0.7.1" + EXTRA="0.1" + + wget http://downloads.sourceforge.net/project/conkywfc/BRWeather/brweather-$VERSIOn.tar.gz + wget http://downloads.sourceforge.net/project/conkywfc/BrWeather-themes-extras/brweather-themes-extras-$EXTRA.tar.gz + + tar xvf brweather-$VERSION.tar.gz + tar xvf brweather-themes-extras-$EXTRA.tar.gz + +Sincronizando: + + rsync -Cav --delete /path/to/brweather-$VERSION/ /path/to/brweather.git/ + rsync -av /path/to/brweather-themes-extras-$EXTRA/imagens/ /path/to/brweather.git/brweather/imagens/ + +De volta ao repositório git: + + mv brweather src + git checkout -- brweather + git checkout -- LICENSE + git status + # etc + git commit -m "Uploading version $VERSION" + +Após os testes: + + git checkout master + git merge develop + git push --all