-
-
Save lontivero/eb38d6c1ebff5f13fc99d768d2cdc715 to your computer and use it in GitHub Desktop.
Changelog bash script
This file contains 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
FILENAME=changelog-$1-$2-$(date +"%Y%m%d-%H%M%S").txt | |
echo REGISTRO DE CAMBIOS > $FILENAME | |
echo Fecha: $(date +"%A %d %B de %Y") >> $FILENAME | |
echo >> $FILENAME | |
echo >> $FILENAME | |
git log --pretty=medium $1..$2 >> $FILENAME | |
echo Se creó el archivo $FILENAME: | |
echo \<\<\<------------------------------------------ | |
cat $FILENAME | |
echo ------------------------------------------\>\>\> | |
echo | |
echo Enjoy it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment