From: Michael Stapelberg Date: Sat, 21 Jan 2017 14:53:09 +0000 (+0100) Subject: correctly write I3STATUS_VERSION on release X-Git-Tag: 2.11~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef5148c3e99bad1694278b80ab646bfda78784dc;p=i3%2Fi3status correctly write I3STATUS_VERSION on release --- diff --git a/Makefile b/Makefile index 97bb646..3084ae7 100644 --- a/Makefile +++ b/Makefile @@ -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}