This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
hub --version || exit 1 | |
echo | |
git stash -k | |
git pull || exit | |
REF=`git rev-parse --abbrev-ref HEAD` | |
HEAD=`git rev-parse HEAD` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "### Mise à jour de la préprod ###" | |
echo "##################################" | |
echo "Indiquez le nom de la version (Ex : 0.6)" | |
read CURRENT_VERSION | |
echo "### Export ###" | |
echo ">> svn export ./current ./$CURRENT_VERSION" | |
cd current && git pull |