Commit graph

233 commits

Author SHA1 Message Date
meowmeowcat
c83d37bdf0 Introduce print_hash in README 2022-01-08 12:41:13 +08:00
meowmeowcat
777bfc4346 Fix the message 2022-01-08 12:26:32 +08:00
meowmeowcat
ca30c7da98 Show a message before printing hash values of files 2022-01-08 12:24:12 +08:00
meowmeowcat
06a2dd6685 Fix bug 2022-01-08 12:21:09 +08:00
meowmeowcat
fc71be69fe Add print-hash.py to Dockerfile 2022-01-08 12:14:48 +08:00
meowmeowcat
77ee113713 Move out the Python script from the shell script 2022-01-08 12:12:15 +08:00
meowmeowcat
e5cc29fe08 Show hash values of files uploaded 2022-01-08 00:24:27 +08:00
Sviatoslav Sydorenko
bea5cda687
Fix a typo in README: s/wheels/wheel/ 2021-02-19 20:28:01 +01:00
Sviatoslav Sydorenko
f334b3c277
Tell to use artifacts for platform wheels @ README
Per suggestion @
https://github.com/pypa/gh-action-pypi-publish/discussions/57#discussioncomment-365097
2021-02-19 20:22:31 +01:00
Sviatoslav Sydorenko
c89694fb92
Merge PR #55 2021-02-19 20:08:03 +01:00
Sviatoslav Sydorenko
ed5a157a01
Add an empty line after the title @ README 2021-02-19 20:04:22 +01:00
Sviatoslav Sydorenko
27b31702a0
Use Python 3.9 in runtime 2021-02-08 18:13:46 +01:00
Sviatoslav Sydorenko
9f41657646
Use wheels over newer sdists in pip install twine
Fixes #50
Fixes #51
2021-02-08 18:13:17 +01:00
Sviatoslav Sydorenko
a5f9cf8db0
Upgrade pip in the docker container
Fixes #56
2021-02-08 18:11:53 +01:00
P. L. Lim
3f53700db1
DOC: Do not use master in examples
to be consistent with the "pro tip"
2021-01-22 09:36:17 -05:00
Sviatoslav Sydorenko
f91f98d65e
Merge PR #52 by @scop
This change adjusts the example secret names in README to be uppercase
and renames them to communicate better that it's supposed to be a PyPI
API token.
2020-12-13 23:44:03 +01:00
Ville Skyttä
4425980a33 Use PYPI_API_TOKEN instead of pypi_password as secret name in examples
GitHub secrets are customarily spelled in uppercase, and in PyPI terms
we're dealing with API tokens here, not passwords.
2020-12-12 18:08:55 +02:00
Sviatoslav Sydorenko
54b39fb937
🚑 Fix referring to $INPUT_VERBOSE var
Resolves #41
2020-09-26 00:42:02 +02:00
Sviatoslav Sydorenko
1f0bcf278d
Merge PR #39
This change exposes an extra GitHub Action input called `verbose`. It
allows to see `twine upload` detailed output if needed for debugging.
2020-09-26 00:17:25 +02:00
Subin Modeel
cf69e2047c Update twine-upload.sh 2020-09-25 13:14:20 -04:00
Sviatoslav Sydorenko
186232109e
Merge pull request #37 from hugovk/patch-1
Fix misspelled word "within", in the README
2020-07-09 11:28:52 +02:00
Hugo van Kemenade
312517a552
Fix typo 2020-07-09 10:45:41 +03:00
Sviatoslav Sydorenko
bce3b74dbf
Merge pull request #36 from grische/fix/invlid_warning_with_wildcards
This change improves the warning emit logic to allow wildcards in `INPUT_PACKAGES_DIR`.

By @grische.
2020-07-08 20:48:28 +02:00
Christian Schmidbauer
f4c7b2841d Allow wildcards in INPUT_PACKAGES_DIR 2020-07-08 15:42:31 +02:00
Sviatoslav Sydorenko
00ef3b8182
Expose skip_existing setting to the end-users 2020-06-19 21:30:53 +02:00
Sviatoslav Sydorenko
6a02ab807d
Add clarifying messages to annotation titles 2020-06-04 01:23:32 +02:00
Sviatoslav Sydorenko
323b1496ae
Invert quoting when rendering $INPUT_PACKAGES_DIR 2020-06-04 01:21:51 +02:00
Sviatoslav Sydorenko
bf7a320fba
Bump the docker image to use Python 3.8 2020-06-04 01:11:14 +02:00
Sviatoslav Sydorenko
328d2c65fa
Output warnings as GH Checks annotations 2020-06-04 01:06:14 +02:00
Sviatoslav Sydorenko
65c102608d
Use detached link syntax in README 2020-06-03 17:53:04 +02:00
Sviatoslav Sydorenko
55abf9c047
Replace github.ref -> github.event.ref README
Resolves #31
2020-06-03 17:49:53 +02:00
Sviatoslav Sydorenko
c37b99ec5f
Merge PR #33
This change implements running dists verification before
performing actual upload. It is controlled by the input
called `verify_metadata` which is on by default.
2020-06-03 17:44:19 +02:00
Henry Schreiner
9bda1cadd0 Use metadata_verify instead of check 2020-06-03 11:05:45 -04:00
Henry Schreiner
ab50aa7f47
Update twine-upload.sh
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2020-06-03 10:29:18 -04:00
Henry Schreiner
176ae50c06 feat: Add twine check before upload #30 2020-06-02 14:44:35 -04:00
Sviatoslav Sydorenko
37e305e741
Adjust the license file for licensee to detect it 2019-12-25 16:03:54 +01:00
Sviatoslav Sydorenko
57bdcc06a9
Revert to using rounds braces in the license file 2019-12-25 15:44:33 +01:00
Sviatoslav Sydorenko
cc20110e17
Mention contributors in the license 2019-12-25 15:30:31 +01:00
Sviatoslav Sydorenko
30bc6a06b7
Recustomize email in the license 2019-12-25 15:30:30 +01:00
Sviatoslav Sydorenko
1acd093ab4
Fix the project name mention in the license
Resolves #23
2019-12-25 15:30:08 +01:00
Sviatoslav Sydorenko
e777b33388
Turn packages-dir param into packages_dir
PR #21 by @samuelhwilliams
2019-12-07 01:54:28 -03:00
Samuel Williams
a8ddac2458 Fix typo in inputs
d7872a6165 changed the name of an input from `dist` to `packages-dir`,
but unfortunately it looks like GitHub actions expect underscores rather
than dashes, so deploys are currently broken with the following errors:

```
Run pypa/gh-action-pypi-publish@master
  with:
    user: __token__
    password: ***
    packages-dir: dist
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.0/x64
/usr/bin/docker run --name [...] -e INPUT_PACKAGES-DIR [...]

/app/twine-upload.sh: line 22: INPUT_PACKAGES_DIR: unbound variable

This patch replaces the dash with an underscore.

Resolves #20
2019-12-06 23:15:10 +00:00
Sviatoslav Sydorenko
2ae9caf08e
Merge commit 'pull/origin/19'
This change adds an Action argument for specifying a custom directory
that contains package distributions to be uploaded.

It's called `packages-dir` now. The default value is `dist`.

Resolves #10.
2019-12-06 13:47:16 +01:00
Sviatoslav Sydorenko
19c0fbd15c
Reword package-dir example title in README 2019-12-06 13:44:40 +01:00
Sviatoslav Sydorenko
b645b1f9d3
Use a regular PyPI in the custom dist dir example 2019-12-06 13:42:24 +01:00
Sviatoslav Sydorenko
d7872a6165
Change dist param to packages-dir 2019-12-06 13:38:52 +01:00
Jesse Farebrother
4f4304928f Custom dist 2019-12-05 16:25:02 -07:00
Sviatoslav Sydorenko
ae9c4b332a
📝 Clearly indicate in README what is being uploaded
PR #18 by @matham
2019-11-27 01:10:57 +01:00
matham
7c2cab72a6
Indicate clearly what is being uploaded. 2019-11-26 16:07:42 -05:00
Sviatoslav Sydorenko
df31a30961
Update the outdated link to the creating & using secrets doc
PR #17 by @digitronik
2019-11-23 20:27:13 +01:00