1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

Makefile: dont update the binary on release

This commit is contained in:
Johan Andersson 2016-01-10 21:34:54 +01:00
parent e4420349e3
commit ae428d9d8d

View File

@ -70,7 +70,7 @@ doctest: svtplay-dl
$(RELEASE_DIR): clean_releasedir
mkdir $(RELEASE_DIR)
cd $(RELEASE_DIR) && git clone -b master ../ . && \
make svtplay-dl $(MANFILE)
make $(MANFILE)
clean_releasedir:
rm -rf $(RELEASE_DIR)
@ -79,8 +79,7 @@ release: $(RELEASE_DIR) release-test
set -e; cd $(RELEASE_DIR) && \
sed -i -re 's/^(LATEST_RELEASE_DATE = ).*/\1$(NEW_RELEASE_DATE)/' Makefile;\
sed -i -re 's/^(__version__ = ).*/\1"$(NEW_RELEASE)"/' lib/svtplay_dl/__init__.py;\
make svtplay-dl VERSION=$(NEW_RELEASE); \
git add svtplay-dl Makefile lib/svtplay_dl/__init__.py; \
git add Makefile lib/svtplay_dl/__init__.py; \
git commit -m "New release $(NEW_RELEASE)";
(cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am