Commit graph

56 commits

Author SHA1 Message Date
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
NIKHIL DHANDRE
12afb8d7be
Fix miss leading link creating & using secrets 2019-11-24 00:05:12 +05:30
Sviatoslav Sydorenko
66f4ba747a
Add a link to the PyPA guide 2019-09-27 13:37:19 +02:00
Sviatoslav Sydorenko
369493d046
Wrap lines in README to fit 80 chars 2019-09-24 23:04:57 +02:00
Sviatoslav Sydorenko
74be6d36c6
Add a README recommendation to pin action versions 2019-09-24 23:03:49 +02:00
Sviatoslav Sydorenko
9cebe9a0ed
Test PyPI -> TestPyPI in README
PR #13 by @hugovk

Ref: https://github.com/pypa/packaging.python.org/pull/647#discussion_r326001958
2019-09-19 11:16:02 +03:00
Hugo van Kemenade
d773dec8a8
Test PyPI -> TestPyPI 2019-09-19 11:04:14 +03:00
Sviatoslav Sydorenko
ccc58ba516
Fix typos and rephrase README
PR #12 by @hugovk
2019-09-16 22:44:15 +03:00
Hugo
881f0049bd Typos and brevity 2019-09-16 14:01:16 +03:00
Sviatoslav Sydorenko
0f45ea95d8
Rename a Test PyPI secret 2019-09-15 15:24:35 +02:00
Sviatoslav Sydorenko
32324e5beb
Mention `repository_url` in README 2019-09-15 09:16:54 +02:00
Sviatoslav Sydorenko
04871990d3
Print a warning if there's no dists to upload 2019-09-12 17:55:39 +02:00
Sviatoslav Sydorenko
e4638127f9
Emit a warning if the token looks invalid
Resolves #9
2019-09-12 17:55:34 +02:00
Sviatoslav Sydorenko
48259af24d
Add a Non-goals section to the README 2019-09-12 14:06:55 +02:00
Sviatoslav Sydorenko
f3ebf87ba2
Update metadata LABELs in Dockerfile 2019-08-23 13:37:41 +02:00
Sviatoslav Sydorenko
21ffeac7ef
Merge commit 'pull/origin/7' 2019-08-23 13:34:06 +02:00
Sviatoslav Sydorenko
8225ac386c
Use relative paths in Dockerfile 2019-08-23 13:30:16 +02:00
Sviatoslav Sydorenko
bfe363c91d
Fix pypa org refs in README 2019-08-23 13:20:45 +02:00
Sviatoslav Sydorenko
f9c30e0c30
Fix PyPI pwd secret ref inconsistency in REDAME 2019-08-23 13:19:24 +02:00
Sviatoslav Sydorenko
8e9ff975ca
Protect env vars in Twine invocation 2019-08-23 13:17:10 +02:00
Sviatoslav Sydorenko
4820c8c9b0
Fix a space position in shabang 2019-08-23 13:13:19 +02:00
Sviatoslav Sydorenko
2c1fc8ad24
Add a space after shebang marker 2019-08-23 13:12:47 +02:00
Sviatoslav Sydorenko
2e00539ed7
Dedent sequence items in YAML 2019-08-23 13:11:24 +02:00
Sviatoslav Sydorenko
f36788ee44
Add a YAMLlint config 2019-08-23 13:10:51 +02:00
Mathias Fussenegger
25d67dc298 Adapt to new yml based github actions
Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2019-08-23 10:53:21 +02:00
Sviatoslav Sydorenko
0bc3d275be
Upgrade metadata in the Dockerfile definition 2019-05-26 19:50:01 +02:00
Sviatoslav Sydorenko
9637f0b197
🐛 Fix PyPI spelling in README 2019-05-26 17:53:57 +02:00
Sviatoslav Sydorenko
470267472e
Add SECURITY text 2019-05-26 17:50:09 +02:00