correctly write I3STATUS_VERSION on release

This commit is contained in:
Michael Stapelberg 2017-01-21 15:53:09 +01:00
parent 30fd21864b
commit ef5148c3e9

View File

@ -128,6 +128,6 @@ release:
cp -r include i3status-${VERSION}
cp -r yajl-fallback i3status-${VERSION}
cp -r contrib i3status-${VERSION}
sed -e 's/^I3STATUS_VERSION:=\(.*\)/I3STATUS_VERSION=${I3STATUS_VERSION}/g;s/^VERSION:=\(.*\)/VERSION=${VERSION}/g' Makefile > i3status-${VERSION}/Makefile
echo ${I3STATUS_VERSION} > i3status-${VERSION}/I3STATUS_VERSION
tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION}
rm -rf i3status-${VERSION}