You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## HOWTO Release ##
1
+
## HOWTO Release
2
2
3
3
This is a Howto guide on the commands to run and files to update in order to publish a new release of the Python SDK to Pypi
4
4
@@ -17,21 +17,23 @@ Pypandoc and Pandoc are needed to convert the readme from markdown to rst for th
17
17
18
18
### Release Steps
19
19
20
-
1. Update the changelog, the version file, and the test file as done in [this commit](https://github.com/transloadit/python-sdk/commit/35789c535bd02086ff8f3a07eda9583d6e676d4d) and push it to master.
20
+
1. Update the changelog, the version file, and the test file as done in [this commit](https://github.com/transloadit/python-sdk/commit/35789c535bd02086ff8f3a07eda9583d6e676d4d) and push it to main.
21
21
2. Publish to Pypi by running the following commands.
22
22
23
23
```bash
24
24
python setup.py sdist bdist_wheel
25
25
twine check dist/*
26
26
twine upload dist/*
27
27
```
28
+
28
29
The second command above (`twine check dist/*`) is meant to check for errors in the dist build, so please abort and try to fix issues if you see any errors from running the command.
29
30
30
31
Running the third command from above will prompt you for your [Pypi](https://pypi.org/project/pytransloadit/) username and password.
31
32
32
33
3. Now that release has been published on Pypi, please head to GitHub to [draft a new tag release](https://github.com/transloadit/python-sdk/releases). Point this tag release to the latest commit pushed on step 1 above. Once you're done drafting the release, go ahead to publish it.
33
34
34
-
If all the steps above have been followed without errors, then you've successfully published a relaease. 🎉
35
+
If all the steps above have been followed without errors, then you've successfully published a relaease. 🎉
36
+
37
+
---
35
38
36
-
* * *
37
-
Further reading for Transloadians: https://github.com/transloadit/team-internals/blob/master/_howtos/2020-12-14-maintain-python-sdk.md
39
+
Further reading for Transloadians: https://github.com/transloadit/team-internals/blob/HEAD/_howtos/2020-12-14-maintain-python-sdk.md
0 commit comments