zulip-terminal icon indicating copy to clipboard operation
zulip-terminal copied to clipboard

run: Add UploadCommand class to automate release process.

Open amanagr opened this issue 5 years ago • 5 comments

Moved this code form https://github.com/zulip/zulint/blob/master/setup.py.

I will just leave this pull request open for now and test merge it when making the next release.

amanagr avatar May 24 '19 01:05 amanagr

I have made most of the suggested changes. I will document release process in https://github.com/zulip/zulip-terminal/wiki/Making-a-new-release-%F0%9F%8E%89. I don't think we need to add twine and wheel as release deps in setup, I will include it in the docs since they are quite common known deps. I am not sure if pathlib really make an impact here. Yeah, we can move the code to zulint or other places. Thanks @neiljp for great recommendations!

amanagr avatar May 25 '19 05:05 amanagr

As a random sidenote, I generally recommend committing developer documentation like a "release checklist" in docs/ folder rather than using the GitHub wikis; that way content in it shows up in git grep and is more likely to be updated as changes happen.

timabbott avatar May 28 '19 05:05 timabbott

@amanagr After discussion over the Summer, I'm wondering if this would be simpler to have as a separate script so that we don't have to include it in setup.py? For example, the python-zulip-api repo has a release-packages script - which admittedly is perhaps more complex than we need.

neiljp avatar Aug 12 '19 22:08 neiljp

or leave it? I now think that we should manually verify each step of the release process. While this method is great, I think I will fear using it 😨 !

amanagr avatar Aug 13 '19 02:08 amanagr

Heads up @amanagr, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.

zulipbot avatar Apr 17 '20 00:04 zulipbot