Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate release upload #1161

Closed
dopplershift opened this issue Oct 30, 2018 · 6 comments
Closed

Automate release upload #1161

dopplershift opened this issue Oct 30, 2018 · 6 comments

Comments

@dopplershift
Copy link
Contributor

dopplershift commented Oct 30, 2018

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.

@QuLogic
Copy link
Member

QuLogic commented Oct 30, 2018

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.

@ajdawson
Copy link
Member

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
Copy link
Member

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

@dopplershift
Copy link
Contributor Author

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

@dopplershift dopplershift modified the milestones: 0.17, 0.18 Nov 16, 2018
@greglucas
Copy link
Contributor

Want to try implementing this for the 0.18 release?

@QuLogic QuLogic modified the milestones: 0.18, 0.19 May 4, 2020
@QuLogic QuLogic modified the milestones: 0.19, 0.20 Apr 22, 2021
@dopplershift dopplershift modified the milestones: 0.20, 0.21 Sep 17, 2021
@QuLogic QuLogic modified the milestones: 0.21, 0.22 Sep 11, 2022
@dopplershift dopplershift modified the milestones: 0.22, Next Release Aug 4, 2023
@greglucas greglucas modified the milestones: Next Release, 0.22 Aug 5, 2023
@greglucas
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants