Commit 9c29d46
Use GitHub Actions for publishing new releases to PyPI (#97)
* Initial commit: Template PyPI publishing workflow YML
* Changing repository_owner name
* .
* Updating owner name
* Adding long_description and long_description_type to setup.py
* README ext typo
* Upload to test-pypi on every commit
* Removing github repo owner conditional for test-pypi publication
* Removing repository URL
* Changing event to pull_request for test pypi release
* Adding repository-url back into test job, and github.repo_owner
* Adding a tag
* .
* .
* Adding skip_existing=True for test-pypi release because I dont care about duplicate releases on test-pypi as I troubleshoot
* using kebab-case
* .
* .
* Adding conditional to test-pypi job to only release after merge to main
* Removing unnecessary string manipulation on setup.py
* Renaming for clarity
* .
* .
* changing event_name
* typo in tags name
* Reverting test-pypi job to trigger on merge to main
* Changing long_description_content_type
* Rewritten workflow incorporating OpenAstronomy publishing github action
* Removing upload_to_pypi arg and moving over a set of comments
* Adding permissions
* .
* Testing make_tag job
* Adding a delete_tag job; renaming jobs; adding comments; etc
* Testing make_and_push_tag
* .
* Adding checkout option
* changing actions/checkout version
* .
* .
* Attempting to push tag with another gh action
* Changing fetch depth
* .
* Updating permissions
* if: always() for delete_tag
* Updating comments. Fixing delete_tag
* Removing local deletion of
* .
* fetching tags before deletion
* .
* publish_pure_python
* Add github token
* Modifying upload_to_pypi for both major jobs
* Removing upload_to_pypi since default is refs/tags/v
* Editing upload_to_pypi for test.pypi job
* .
* Just forcing an upload to test-pypi
* .
* .
* adding secrets
* echo
* .
* reverting to only release to test.pypi when merge to main
* Reverted to a simple workflow to build, test, and publish to pypi
* Making the job get triggered for tags created and pushed that start with v
* Updates test_extras and test_command. removed trigger to run when branch is pushed.
* Ignore tags with dev, pre, post in the name
* typo
* Removing ignore-tags lines
* adding secrets credentials
* Removing id-token write perm
* Updating test_command
* adding pyargs
* Changing secret to PYPI_TOKEN, the API Token I generated on PyPI
* Updated readme
* Ben readme suggestions
Co-authored-by: Ben Falk <653031+falkben@users.noreply.github.com>
---------
Co-authored-by: Ben Falk <653031+falkben@users.noreply.github.com>1 parent ff133b4 commit 9c29d46
3 files changed
+47
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
98 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
0 commit comments