This will now produce something like: ChangeLog-v3.7-rc1-4
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
fi
cd $COMPAT_DRIVERS_DIR
-CHANGELOG_FILE=$(git describe)
+CHANGELOG_FILE="ChangeLog-$(git describe| sed -e 's|compat-drivers-||')"
+
if [[ $COMPAT_DRIVERS_BRANCH != "master" ]]; then
RELEASE=$(git describe --abbrev=0 | sed -e 's|\(v\)\([0-9]\)|\2|')
OLD_VER=6
let VER="7"
RC="-rc1"
-LOG="ChangeLog-$(git describe)"
+LOG="ChangeLog-$(git describe| sed -e 's|compat-drivers-||')"
echo > $LOG