Skip to content

Instantly share code, notes, and snippets.

View alex-pex's full-sized avatar
👨‍👩‍👧‍👦

Alexandre Paixao alex-pex

👨‍👩‍👧‍👦
View GitHub Profile
@alex-pex
alex-pex / finish-release.sh
Last active March 19, 2018 14:36
Script to create pull-requests when a new version is released https://hub.github.com/
#!/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`
@alex-pex
alex-pex / deploiement-preprod.sh
Last active December 13, 2015 23:49 — forked from faboo03/deploiement-preprod.sh
svn to git
#!/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