mirror of
https://github.com/OfflineIMAP/offlineimap.git
synced 2025-12-13 20:36:51 +01:00
ensure python2 in the release workflow
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
8
Makefile
8
Makefile
@@ -24,13 +24,13 @@ RST2HTML=`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
|
||||
all: build
|
||||
|
||||
build:
|
||||
python setup.py build
|
||||
python2 setup.py build
|
||||
@echo
|
||||
@echo "Build process finished, run 'python setup.py install' to install" \
|
||||
"or 'python setup.py --help' for more information".
|
||||
@echo "Build process finished, run 'python2 setup.py install' to install" \
|
||||
"or 'python2 setup.py --help' for more information".
|
||||
|
||||
clean:
|
||||
-python setup.py clean --all
|
||||
-python2 setup.py clean --all
|
||||
-rm -f bin/offlineimapc 2>/dev/null
|
||||
-find . -name '*.pyc' -exec rm -f {} \;
|
||||
-find . -name '*.pygc' -exec rm -f {} \;
|
||||
|
||||
@@ -77,7 +77,7 @@ Announce template stands in '{announce}'.
|
||||
Command samples to do manually:
|
||||
|
||||
- git push <remote> master next {new_version}
|
||||
- python setup.py sdist && twine upload dist/* && rm -rf dist MANIFEST
|
||||
- python2 setup.py sdist && twine upload dist/* && rm -rf dist MANIFEST
|
||||
- cd website
|
||||
- git checkout master
|
||||
- git merge {website_branch}
|
||||
|
||||
Reference in New Issue
Block a user