cartopy icon indicating copy to clipboard operation
cartopy copied to clipboard

Automate release upload

Open dopplershift opened this issue 7 years ago • 5 comments

We should make our lives easier and automatically upload the sdist to PyPI when a new release is tagged. Stealing from our MetPy Travis config:

deploy:
  - provider: pypi
    user: dopplershift
    password:
      secure: <ENCRYPTED_PW>
    distributions: sdist
    upload_docs: no
    on:
      repo: SciTools/cartopy
      python: 3.6
      condition: [MAKE SURE WE ONLY DO IT ONCE]
      tags: true

We might also want to automatically update the docs, but I’m not clear on what the current process for that is.

dopplershift avatar Oct 30 '18 17:10 dopplershift

Docs are put here: https://github.com/SciTools/scitools.org.uk I'm not sure if much else happens other than replacing the relevant directory.

QuLogic avatar Oct 30 '18 20:10 QuLogic

I'm not sure if much else happens other than replacing the relevant directory.

Probably some fiddling with the version switcher to update where latest points to.

ajdawson avatar Oct 31 '18 08:10 ajdawson

Regardless, we should definitely do an automated PyPI upload to save relying on an individual to do it.

ajdawson avatar Oct 31 '18 08:10 ajdawson

sdist uploading (in theory) was done in #1163. I'll leave this open to remind about uploading docs.

dopplershift avatar Nov 06 '18 20:11 dopplershift

Want to try implementing this for the 0.18 release?

greglucas avatar Apr 02 '20 04:04 greglucas

Thanks, @dopplershift! This worked like a charm for this release.

greglucas avatar Aug 05 '23 02:08 greglucas