File tree Expand file tree Collapse file tree 2 files changed +43
-6
lines changed
Expand file tree Collapse file tree 2 files changed +43
-6
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,36 @@ script: make build
99before_deploy : pip install twine
1010
1111deploy :
12- provider : script
1312
14- # upload to PyPI
15- script : twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*
13+ # create github release
14+ - provider : releases
1615
17- # avoid stashing sdist
18- skip_cleanup : true
16+ # GitHub access token
17+ api_key :
18+ secure : " Hv2ICkPkC7hiRw8GS9adkEcfoYGeVPbGHRNPQdGxLTeP1Mz9x/2ylUprrb2Ohq+pHGRa1W55nSJAZWHto4L/seWS17vN1JB1o71KYeD8h4Ywm/iJzYJFu4v8cmuT9qMPC89GtSGUkEZml+Vd6lb6d/eBr7HWoAMF7LCobzVvpJftgSBqkN1Z0aaunGNRtPVaqf0D4iQMSU1e0X9HFyIsxjS68sNqVcU/eSqbkHQ32COliOdEZXDqNmoJjIq4NYVH7DCS4kSpfxSd3BkJPn1UH4891MntflMllH7khmSA0lqSuunp+olfzhzchYb0/e0LavqYyFU/cRemyt8RBuE0GD3J3TMudVav/5HLKt6/exZwqfv7bHyorDXkkKGJqYNPUCOD2K4RS4ExpUU5c5en5inJZdgKYVI9gZS15oXmKV3H/8JkJPgx0xRP1Rx8niQKezKdFb0dZxArbMBUuAnolgyoq2EgnsNYhboRWXoJP36FCWFn8U8UNUfmgOkkMcP59mZ6svznxWPIyCMhfGgShY03GTvPp94P6c6OZJpjyjmWyPsvGZJrvnRlJ8VxBaUBcfuQl9rtBorwJ3VI1VWguyBaSINM6OWPtEJ0J2oVM/8Dvjuw2qPNkCdUhflc7wV/AUYB9/6rfpjY+GwTEKtZBBw4epbZX/B0L+vdRONZJ0Q="
19+
20+ # enable wildcards in filenames
21+ file_glob : true
22+
23+ # upload sdist
24+ file : dist/*
25+
26+ # avoid stashing sdist
27+ skip_cleanup : true
28+
29+ # create releases on tags only
30+ on :
31+ tags : true
32+
33+ # deploy to PyPI
34+ - provider : script
35+
36+ # upload sdist to PyPI
37+ script : twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*
38+
39+ # avoid stashing sdist
40+ skip_cleanup : true
41+
42+ # deploy on tags only
43+ on :
44+ tags : true
Original file line number Diff line number Diff line change 88
99.PHONY : install
1010install : build
11- pip install dist/cs50* .tar.gz
11+ pip install dist/* .tar.gz
12+
13+ .PHONY : push
14+ push :
15+ git push origin " v$$ (python setup.py --version)"
16+
17+ .PHONY : release
18+ release : tag push
19+
20+ .PHONY : tag
21+ tag :
22+ git tag " v$$ (python setup.py --version)"
You can’t perform that action at this time.
0 commit comments