mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Merge pull request #224 from olof/update_version_on_release
build: update __version__ as well on release
This commit is contained in:
commit
9ba730b524
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