Skip to content

Commit 72a3a57

Browse files
committed
use dash for executable and configuration filenames
1 parent 93f92a4 commit 72a3a57

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ Upload to GitHub release
5555
Usage
5656
-----
5757

58-
To build all artifacts configured in the ``publish_python.yaml`` file call:
59-
``bin/publish_python``.
58+
To build all artifacts configured in the ``publish-python.yaml`` file call:
59+
``bin/publish-python``.
6060
While this also shows the necessary commands to upload the artifacts no upload
6161
is being performed.
6262

@@ -75,7 +75,7 @@ For more information about possible command line arguments pass ``--help``.
7575
Configuration
7676
-------------
7777

78-
A configuration file ``publish_python.yaml`` must be present in the root of the
78+
A configuration file ``publish-python.yaml`` must be present in the root of the
7979
Python package.
8080

8181
On the top level it must contain a key ``artifacts`` containing a list.
@@ -122,7 +122,7 @@ GitHub release configuration
122122
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
123123

124124
* The optional key ``repository`` describes the org unit and repository name to
125-
identify the upload destination (e.g. ``dirk-thomas/publish_python``).
125+
identify the upload destination (e.g. ``dirk-thomas/publish-python``).
126126
If the invocation is happening in a git repository the location can be
127127
determined automatically.
128128

@@ -152,4 +152,4 @@ Example
152152
- debian:buster
153153
- type: github
154154
config:
155-
repository: dirk-thomas/publish_python
155+
repository: dirk-thomas/publish-python
File renamed without changes.

publish_python/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_publishings():
1414
from publish_python.cli import artifact_handlers
1515
from publish_python.cli import upload_handlers
1616

17-
config_path = pathlib.Path('publish_python.yaml')
17+
config_path = pathlib.Path('publish-python.yaml')
1818
if not config_path.exists():
1919
raise RuntimeError(
2020
'Must be invoked in a directory containing a '

0 commit comments

Comments
 (0)