summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2017-01-21 15:53:09 +0100
committerMichael Stapelberg <michael@stapelberg.de>2017-01-21 16:00:13 +0100
commitef5148c3e99bad1694278b80ab646bfda78784dc (patch)
treeddbdea793e02f317ab9c02f89653c98103dcb232 /Makefile
parent30fd21864b819ba723b5480a572b7d329e1a8b73 (diff)
correctly write I3STATUS_VERSION on release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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}