Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Automatically upload new releases to PyPI #61

Merged
merged 1 commit into from
Nov 11, 2019

Conversation

thomas-moulard
Copy link
Member

This uploads the new releases of this package to the test PyPI
repository. We will switch the main PyPI repo, once we validate this
workflow works properly.

@thomas-moulard thomas-moulard force-pushed the tmoulard/pypy-integ branch 2 times, most recently from 1764a50 to c97d245 Compare November 11, 2019 22:00
@codecov
Copy link

codecov bot commented Nov 11, 2019

Codecov Report

Merging #61 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   62.86%   62.86%           
=======================================
  Files           4        4           
  Lines         272      272           
=======================================
  Hits          171      171           
  Misses        101      101

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29ae22f...2c51145. Read the comment docs.

This uploads the new releases of this package to the test PyPI
repository. We will switch the main PyPI repo, once we validate this
workflow works properly.

Signed-off-by: Thomas Moulard <tmoulard@amazon.com>
@thomas-moulard
Copy link
Member Author

Successful upload of the package:

[omitting pip3 output]
python3 -m twine upload --password *** --repository-url https://test.pypi.org/legacy/ --skip-existing --username *** dist/*
Uploading distributions to https://test.pypi.org/legacy/
Uploading cross_compile-0.0.1-py3-none-any.whl

  0%|          | 0.00/27.0k [00:00<?, ?B/s]
 30%|██▉       | 8.00k/27.0k [00:00<00:00, 73.6kB/s]
100%|██████████| 27.0k/27.0k [00:00<00:00, 48.1kB/s]
  Skipping cross_compile-0.0.1-py3-none-any.whl because it appears to already exist
Uploading cross_compile-0.0.1.tar.gz

  0%|          | 0.00/23.9k [00:00<?, ?B/s]
100%|██████████| 23.9k/23.9k [00:00<00:00, 49.3kB/s]
  Skipping cross_compile-0.0.1.tar.gz because it appears to already exist

I obtained this by temporarily removing && github.event_name == 'push' from test.yml to trigger an upload from this PR.

I now have reverted the change and this will only upload new versions on pushes (see the comment in test.yml to understand why).

@thomas-moulard thomas-moulard merged commit c2d3951 into master Nov 11, 2019
@thomas-moulard thomas-moulard deleted the tmoulard/pypy-integ branch November 11, 2019 23:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants