Project

General

Profile

action #102590

Updated by tinita about 3 years ago

## Observation 

 The last upload to pypi was in June (version 1.25.0): 
 https://pypi.org/project/openqa-review/#history 

 Uploading is done via a Travis CI utility: 
 https://github.com/os-autoinst/openqa_review/blob/master/.travis.yml#L12 

 ~~It's unclear how the tags were created in the past. If they were created manually, then that explains why the pypi uploads stopped.~~ EDIT: So far git tags had been created manually by okurz. travis CI was configured to only publish on tags so this is likely the reason that there is no new release yet. 
 Another reason could be: We moved from travis-ci.org to travis-ci.com in July. 

 ~~It would still be good to know how the tags were created.~~ 

 ## Suggestions 
 - Is the release process documented somewhere? -> Yes, as machine readable travis CI instructions in https://github.com/os-autoinst/openqa_review/blob/master/.travis.yml#L13 
 - Research about best practices how to upload to pypi with GHA as we use GHA now 
 - Upload release with git hash-based (minor) version number, without tags 
   - e.g. -1.25.0+81.cc43886.tar.xz where 81 is an ever-incremented number based on the first commit in OBS 
   - https://build.opensuse.org/package/show/home:okurz/python-openqa_review 
 - To publish via GitHub Actions, see https://github.com/marketplace/actions/pypi-publish

Back