Commit 5edcd857 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

update-readmes: add series version to README

parent 7708b456
GStreamer @SERIES_VERSION@
WHAT IT IS
----------
......
......@@ -22,19 +22,21 @@ fi
let m=$MINOR_VERSION%2
if test $m = 0; then
VERSION="$MAJOR_VERSION.$MINOR_VERSION.x stable series"
SERIES_VERSION="$MAJOR_VERSION.$MINOR_VERSION.x stable series"
else
VERSION="$MAJOR_VERSION.$MINOR_VERSION.x development series"
SERIES_VERSION="$MAJOR_VERSION.$MINOR_VERSION.x development series"
fi
#echo "$VERSION"
#echo "$SERIES_VERSION"
for f in $README_FILES ; do
cp --preserve --update --verbose "common/$f" $f || {
cp --preserve "common/$f" $f || {
echo "Failed to update $f"
exit 1;
}
done
sed -i "s/@SERIES_VERSION@/$SERIES_VERSION/g" README
if test x$1 = "x--run-git-add"; then
git add $README_FILES;
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment