File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed
Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 11name : Publish to PyPi
22
3- # This will publish a package to TestPyPi (and real Pypi if run on master) with a version
4- # number generated by versioneer from the most recent tag looking like v____
5- # TODO: maybe move this into the package job so all release-based actions are together
3+ # This will build a package with a version set by versioneer from the most recent tag matching v____
4+ # It will publish to TestPyPi, and to real Pypi *if* run on master where head has a release tag
5+ # For a live run, this should only need to be triggered by a newly published repo release.
6+ # This can also be run manually for testing
67on :
8+ release :
9+ types : [published]
710 workflow_dispatch :
811 push :
912 tags :
2326 - name : Build dist files
2427 run : |
2528 python -m pip install --upgrade pip
26- pip install -e .[test] build
29+ python -m pip install -e .[test] build
2730 python -m build
2831 git describe --tag --dirty --always
2932
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments