blob: 83a767a74222d1282fdd50da338ac559b3267756 [file] [log] [blame]
Mike Marchetti3a0fc422017-11-17 13:38:47 -05001#!/bin/bash
2
3REPO_NAME=$(basename $(git config --get remote.origin.url) | cut -d'.' -f1)
4# get the latest tag
5TAG_END="HEAD"
6TAG_START=$(git tag | sort -Vr | head -1)
7git pull --tags origin master &> /dev/null
8echo "<h1>$REPO_NAME Changelog</h1>"
9echo "<h2>tag: ${TAG_START} -> ${TAG_END}</h2>"
10git log --pretty=format:"<li> <a href=https://osm.etsi.org/gitweb/?p=osm/$i.git;a=commitdiff;h=%H>%h &bull;</a> %s</li> " --reverse ${TAG_START}..${TAG_END}