From 881f0049bd4a5a81e7843068f90ab70654b44827 Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 16 Sep 2019 14:01:16 +0300 Subject: [PATCH] Typos and brevity --- README.md | 10 +++++----- twine-upload.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 87860f76..573bdf85 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ PyPI. ## 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`) @@ -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 project's specific needs. + For example, you could implement a parallel workflow that pushes every commit to Test PyPI or your own index server, like `devpi`. For this, you'd need to (1) specify a custom `repository_url` value and (2) generate a unique version 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 to the latest tagged commit. -Please notice that you'll need to create another token for a -separate host and then [save it as a GitHub repo -secret][Creating & using secrets]. +You'll need to create another token for a separate host and then +[save it as a GitHub repo secret][Creating & using secrets]. The action invocation in this case would look like: ```yml diff --git a/twine-upload.sh b/twine-upload.sh index 637cd007..3fa073f9 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -23,7 +23,7 @@ if [[ then >&2 echo \ [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 \ are in place should you face this problem. fi