]> git.sur5r.net Git - i3/i3status/commitdiff
correctly write I3STATUS_VERSION on release
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Jan 2017 14:53:09 +0000 (15:53 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Jan 2017 15:00:13 +0000 (16:00 +0100)
Makefile

index 97bb646f1a23d48cb44f2d3d4485bfda1c2f65e6..3084ae7ddfa67dbea4eb9399909a84b95a9fcc4e 100644 (file)
--- 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}