mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
build: update __version__ as well
This commit is contained in:
parent
07fa5d1b9b
commit
c0e4e50d06
5
Makefile
5
Makefile
@ -68,9 +68,10 @@ clean_releasedir:
|
||||
rm -rf $(RELEASE_DIR)
|
||||
|
||||
release: $(RELEASE_DIR) release-test
|
||||
cd $(RELEASE_DIR) && \
|
||||
set -e; cd $(RELEASE_DIR) && \
|
||||
sed -i -r -e 's/^(LATEST_RELEASE = ).*/\1$(RELEASE)/' Makefile;\
|
||||
git add svtplay-dl Makefile; \
|
||||
sed -i -r -e 's/^(__version__ = ).*/\1"$(RELEASE)"/' lib/svtplay_dl/__init__.py;\
|
||||
git add svtplay-dl Makefile lib/svtplay_dl/__init__.py; \
|
||||
git commit -m "Prepare for release $(RELEASE)";
|
||||
(cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user