mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Makefile: dont update the binary on release
This commit is contained in:
parent
e4420349e3
commit
ae428d9d8d
5
Makefile
5
Makefile
@ -70,7 +70,7 @@ doctest: svtplay-dl
|
|||||||
$(RELEASE_DIR): clean_releasedir
|
$(RELEASE_DIR): clean_releasedir
|
||||||
mkdir $(RELEASE_DIR)
|
mkdir $(RELEASE_DIR)
|
||||||
cd $(RELEASE_DIR) && git clone -b master ../ . && \
|
cd $(RELEASE_DIR) && git clone -b master ../ . && \
|
||||||
make svtplay-dl $(MANFILE)
|
make $(MANFILE)
|
||||||
|
|
||||||
clean_releasedir:
|
clean_releasedir:
|
||||||
rm -rf $(RELEASE_DIR)
|
rm -rf $(RELEASE_DIR)
|
||||||
@ -79,8 +79,7 @@ release: $(RELEASE_DIR) release-test
|
|||||||
set -e; cd $(RELEASE_DIR) && \
|
set -e; cd $(RELEASE_DIR) && \
|
||||||
sed -i -re 's/^(LATEST_RELEASE_DATE = ).*/\1$(NEW_RELEASE_DATE)/' Makefile;\
|
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;\
|
sed -i -re 's/^(__version__ = ).*/\1"$(NEW_RELEASE)"/' lib/svtplay_dl/__init__.py;\
|
||||||
make svtplay-dl VERSION=$(NEW_RELEASE); \
|
git add Makefile lib/svtplay_dl/__init__.py; \
|
||||||
git add svtplay-dl 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user