Commit Graph

89 Commits

Author SHA1 Message Date
3059b36908 Remove conflicting cli arguments 2024-11-11 12:50:32 -08:00
29df64c07b Build: Try to cache pip between tests
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-11-11 12:47:04 -08:00
c1dd243035 Bump version to v3.0.0 because of possible breaking change
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2024-11-11 12:30:32 -08:00
0bb2277e26 BREAKING: Add the ability to download and extract to a temp dir
All checks were successful
continuous-integration/drone/push Build is passing
This also will execute any --exec scripts from the dest directory
2024-11-11 12:29:17 -08:00
6fe0869e8b Bump version to v2.5.2
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2024-11-07 16:01:05 -08:00
16fb7ca849 Forgot one spot 2024-11-07 16:00:48 -08:00
bcf65ce10f Bump version to v2.5.1
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2024-11-07 15:39:47 -08:00
4eead212cf Allow format values in exec calls 2024-11-07 15:39:12 -08:00
b9600cb631 Bump version to v2.5.0
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2024-11-07 11:41:35 -08:00
7ecbf2c5cd Add pseudo_builder to coverage
All checks were successful
continuous-integration/drone/push Build is passing
Even though nothing is reported because an integration test is run
by using a subshell
2024-11-06 20:22:41 -08:00
35b07836e8 Allow templating values into extract file names
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-06 16:21:19 -08:00
7380fa99ec Allow specifying a name for the package
Default to repo name
2024-11-06 16:17:58 -08:00
bb0b82ab72 Add itest for pseudobuilder
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-06 16:13:58 -08:00
564a120bfe Bump version to v2.4.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-10-31 13:26:05 -07:00
e58f1fd7b1 Download and extract files in wheel scripts dir
All checks were successful
continuous-integration/drone/push Build is passing
This avoids conflicting file names with the root cwd
2024-10-31 13:19:47 -07:00
75c37b4aa7 Bump version to v2.3.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-05-14 14:15:35 -07:00
ef7160fe7c Include default system and arch synonyms
Some projects use different system and arch names in their assets.
Sometimes due to convention or differeing tools and systems. For
example, on macOS 13.6, Python will return the system as `Darwin`.
However, some release assets will be named `macOS` or `macos`. Similarly
`arm64` and `aarch64` are used interchangeably.

This patch adds a few lists of synonymous values such that
release-gitter can make an attempt at matching the intended binary.
These lists of synonyms can be expanded to be more complete as time goes
on.

These synonyms are only used if there is no user provided mapping. In
the case that any user provided mapping exists, the map will be the
sole source of truth. Eg. If you provide a map for `Windows=>windows`,
no other values will be mapped and we won't assume that `Darwin=>macos`
anymore.
2024-05-14 14:15:35 -07:00
a6c839a31e Remove typing.Optional from tests 2024-05-14 14:15:35 -07:00
ec401c7d6a Add python12 to test matrix
Still testing against 3.7, even though it's EOL
2024-05-14 14:15:35 -07:00
7a5bed0454 Switch from reorder-python-imports to isort 2024-05-14 14:15:35 -07:00
d639b868a1 Update pre-commit hooks 2024-05-14 14:01:40 -07:00
ddf509e9a4 Bump patch version to 2.2.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-31 20:42:28 -07:00
fbb38a9d7d Make git-url optional again for pseudo_builder
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-31 20:41:40 -07:00
f0ab45f0c6 Make sure hatch is installed when verifying tag
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2023-10-27 15:41:30 -07:00
3eb5fb3d75 Bump version to v2.2.0
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
2023-10-27 15:32:43 -07:00
f1352658ae Update pseudo_builder to be able to include extra files 2023-10-27 15:32:43 -07:00
b8b81825f6 Skip upload pipeline entirely when not tagging for now 2023-10-27 15:32:30 -07:00
daedacb35f Really require python 3.7
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-27 15:27:04 -07:00
09a7d38bc7 Skip upload to test pypi because we can't overwrite 2023-10-27 15:26:46 -07:00
ff803dbc31 Use hatch dynamic version so that we can increment before test uploads
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 14:25:02 -07:00
5ba06140dc Add linting back in
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 14:04:46 -07:00
302258ce6c Fix test upload to use hatch publish
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 13:52:03 -07:00
5423c04df6 Clean venv before trying to run hatch again
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 13:46:32 -07:00
30801c5927 Switch from tox to hatch
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 13:41:46 -07:00
8b9ff334a5 Switch to pyproject
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-26 17:32:28 -07:00
08773d61b7 Bump version to v2.1.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-26 16:28:58 -07:00
6726931916 Run tests on python 3.11
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 16:26:39 -07:00
b0e327e2cd Remove walrus operator to fix for python3.7
All checks were successful
continuous-integration/drone/push Build is passing
Python 3.7 goes into end of support mode tomorrow, 2023-06-27, but will
likely be in wide use for some time after
2023-06-26 16:14:34 -07:00
ab1f25304b Correct some argument help strings
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-12 11:08:45 -07:00
dfc12ed79e Raise exception if trying to extract a member that doesn't exist 2023-06-12 11:08:21 -07:00
de7fe72cec Bump version to v2.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-05 11:45:49 -07:00
0f46808403 Add verbose flag to print version and asset downloaded
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-05 11:45:22 -07:00
face8e9af0 Bump version to 2.0.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Changed behavior around pre-release versions
2023-05-22 17:11:38 -07:00
d555284a01 Avoid installing pre-release versions unless explicitly asked
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 17:09:55 -07:00
869b0b25b4 Fix passing of version when using download_release 2023-05-22 17:05:28 -07:00
d6c0673a1d Use new type annotations introduced in Python 3.10
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-11 12:42:07 -07:00
d48daaab10 Update dev requirements
Make sure mypy and type stubs are installed in dev environment. They
are already used for linting.
2022-10-11 12:42:07 -07:00
e147fad63c Bump version to 1.2.0
All checks were successful
continuous-integration/drone/tag Build is passing
2022-10-11 12:41:30 -07:00
ab0603d1b9 Improve content type detection
All checks were successful
continuous-integration/drone/push Build is passing
Cycle through detected content types and use the first supported one.

Adds tests to cover cases of priority and exceptions.
2022-10-11 12:20:57 -07:00
e6a269af3d Add application/x-tar+xz as a known content type 2022-10-11 12:20:08 -07:00