mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
wip
This commit is contained in:
parent
2a3b110d53
commit
4b708d87bd
19
Makefile
19
Makefile
@ -239,6 +239,9 @@ release:
|
|||||||
@echo "Test README"
|
@echo "Test README"
|
||||||
python3 setup.py check -r -s
|
python3 setup.py check -r -s
|
||||||
|
|
||||||
|
# XXX make branch, based on a ticket (provided how?)
|
||||||
|
# XXX or, specify that "make release" must run on such a branch "XXXX.tahoe-release"
|
||||||
|
|
||||||
@echo "Update NEWS"
|
@echo "Update NEWS"
|
||||||
python3 -m towncrier build --yes --version `python3 misc/build_helpers/update-version.py --no-tag`
|
python3 -m towncrier build --yes --version `python3 misc/build_helpers/update-version.py --no-tag`
|
||||||
git add -u
|
git add -u
|
||||||
@ -249,22 +252,22 @@ release:
|
|||||||
|
|
||||||
@echo "Build and sign wheel"
|
@echo "Build and sign wheel"
|
||||||
python3 setup.py bdist_wheel
|
python3 setup.py bdist_wheel
|
||||||
gpg --pinentry=loopback -u meejah@meejah.ca --armor --detach-sign dist/tahoe_lafs-`git describe --abbrev=0`-py3-none-any.whl
|
gpg --pinentry=loopback -u meejah@meejah.ca --armor --detach-sign dist/tahoe_lafs-`git describe | cut -b 12-`-py3-none-any.whl
|
||||||
ls dist/*`git describe --abbrev=0`*
|
ls dist/*`git describe | cut -b 12-`*
|
||||||
|
|
||||||
@echo "Build and sign source-dist"
|
@echo "Build and sign source-dist"
|
||||||
python3 setup.py sdist
|
python3 setup.py sdist
|
||||||
gpg --pinentry=loopback -u meejah@meejah.ca --armor --detach-sign dist/tahoe-lafs-`git describe --abbrev=0`.tar.gz
|
gpg --pinentry=loopback -u meejah@meejah.ca --armor --detach-sign dist/tahoe-lafs-`git describe | cut -b 12-`.tar.gz
|
||||||
ls dist/*`git describe --abbrev=0`*
|
ls dist/*`git describe | cut -b 12-`*
|
||||||
|
|
||||||
release-test:
|
release-test:
|
||||||
gpg --verify dist/tahoe-lafs-`git describe --abbrev=0`.tar.gz.asc
|
gpg --verify dist/tahoe-lafs-`git describe | cut -b 12-`.tar.gz.asc
|
||||||
gpg --verify dist/tahoe_lafs-`git describe --abbrev=0`-py3-none-any.whl.asc
|
gpg --verify dist/tahoe_lafs-`git describe | cut -b 12-`-py3-none-any.whl.asc
|
||||||
virtualenv testmf_venv
|
virtualenv testmf_venv
|
||||||
testmf_venv/bin/pip install dist/tahoe_lafs-`git describe --abbrev=0`-py3-none-any.whl
|
testmf_venv/bin/pip install dist/tahoe_lafs-`git describe | cut -b 12-`-py3-none-any.whl
|
||||||
testmf_venv/bin/tahoe-lafs --version
|
testmf_venv/bin/tahoe-lafs --version
|
||||||
# ...
|
# ...
|
||||||
rm -rf testmf_venv
|
rm -rf testmf_venv
|
||||||
|
|
||||||
release-upload:
|
release-upload:
|
||||||
twine upload dist/tahoe_lafs-`git describe --abbrev=0`-py3-none-any.whl dist/tahoe_lafs-`git describe --abbrev=0`-py3-none-any.whl.asc dist/tahoe-lafs-`git describe --abbrev=0`.tar.gz dist/tahoe-lafs-`git describe --abbrev=0`.tar.gz.asc
|
twine upload dist/tahoe_lafs-`git describe | cut -b 12-`-py3-none-any.whl dist/tahoe_lafs-`git describe | cut -b 12-`-py3-none-any.whl.asc dist/tahoe-lafs-`git describe | cut -b 12-`.tar.gz dist/tahoe-lafs-`git describe | cut -b 12-`.tar.gz.asc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user