Fix typos and rephrase README

PR #12 by @hugovk
This commit is contained in:
Sviatoslav Sydorenko 2019-09-16 22:44:15 +03:00 committed by GitHub
commit ccc58ba516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ PyPI.
## Usage ## Usage
To use the action add the following step to your workflow file (e.g.: To use the action add the following step to your workflow file (e.g.
`.github/workflows/main.yml`) `.github/workflows/main.yml`)
@ -56,18 +56,18 @@ by putting them into the `dist/` folder prior to running this Action.
For best results, figure out what kind of workflow fits your For best results, figure out what kind of workflow fits your
project's specific needs. project's specific needs.
For example, you could implement a parallel workflow that For example, you could implement a parallel workflow that
pushes every commit to Test PyPI or your own index server, pushes every commit to Test PyPI or your own index server,
like `devpi`. For this, you'd need to (1) specify a custom like `devpi`. For this, you'd need to (1) specify a custom
`repository_url` value and (2) generate a unique version `repository_url` value and (2) generate a unique version
number for each upload so that they'd not create a conflict. number for each upload so that they'd not create a conflict.
The later is possible if you use `setuptools_scm` package but The latter is possible if you use `setuptools_scm` package but
you could also invent your own solution based on the distance you could also invent your own solution based on the distance
to the latest tagged commit. to the latest tagged commit.
Please notice that you'll need to create another token for a You'll need to create another token for a separate host and then
separate host and then [save it as a GitHub repo [save it as a GitHub repo secret][Creating & using secrets].
secret][Creating & using secrets].
The action invocation in this case would look like: The action invocation in this case would look like:
```yml ```yml

View File

@ -23,7 +23,7 @@ if [[
then then
>&2 echo \ >&2 echo \
[WARNING]: \ [WARNING]: \
It looks like there is no Python distribution packages to \ It looks like there are no Python distribution packages to \
publish in the '"dist/"' directory. Please verify that they \ publish in the '"dist/"' directory. Please verify that they \
are in place should you face this problem. are in place should you face this problem.
fi fi