1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

makefile: fix a sed error

This commit is contained in:
Johan Andersson 2016-05-05 14:01:03 +02:00
parent 5c2342f6c0
commit dc2fb3f874

View File

@ -75,7 +75,7 @@ clean_releasedir:
release: $(RELEASE_DIR) release-test release: $(RELEASE_DIR) release-test
set -e; cd $(RELEASE_DIR) && \ set -e; cd $(RELEASE_DIR) && \
sed -i -re 's/^(__version__ = ).*/\1"$(NEW_RELEASE)"/' lib/svtplay_dl/__init__.py;\ sed -i -re 's/^\(__version__ = \).*/\1"$(NEW_RELEASE)"/' lib/svtplay_dl/__init__.py;\
git add Makefile lib/svtplay_dl/__init__.py; \ git add Makefile lib/svtplay_dl/__init__.py; \
git commit -m "New release $(NEW_RELEASE)"; git commit -m "New release $(NEW_RELEASE)";
(cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am (cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am