From 17a1f6f399800e678901caf2eb0508565a2d9b67 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 1 Nov 2024 10:41:40 +0000 Subject: [PATCH] Migrate to disperse.toml --- disperse.conf | 19 ------------------- disperse.toml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 19 deletions(-) delete mode 100644 disperse.conf create mode 100644 disperse.toml diff --git a/disperse.conf b/disperse.conf deleted file mode 100644 index 725f5836d..000000000 --- a/disperse.conf +++ /dev/null @@ -1,19 +0,0 @@ -# See https://github.com/jelmer/disperse -news_file: "NEWS" -timeout_days: 5 -tag_name: "dulwich-$VERSION" -verify_command: "make check" -update_version { - path: "dulwich/__init__.py" - match: "^__version__ = \((.*)\)$" - new_line: "__version__ = $TUPLED_VERSION" -} -update_version { - path: "Cargo.toml" - match: "^version = \"(.*)\"$" - new_line: "version = \"$VERSION\"" -} -# Dulwich' CI builds wheels, which is really slow -ci_timeout: 7200 -# We have a GitHub action that uploads to PyPI, so we don't need to do it here. -skip_twine_upload: true diff --git a/disperse.toml b/disperse.toml new file mode 100644 index 000000000..3ee6e05b5 --- /dev/null +++ b/disperse.toml @@ -0,0 +1,17 @@ +tag-name = "dulwich-$VERSION" +news-file = "NEWS" +verify-command = "make check" +twine-upload = false +tarball-location = [] +release-timeout = 5 +ci-timeout = 7200 + +[[update_version]] +path = "dulwich/__init__.py" +match = "^__version__ = ((.*))$" +new-line = "__version__ = $TUPLED_VERSION" + +[[update_version]] +path = "Cargo.toml" +match = '^version = "(.*)"$' +new-line = 'version = "$VERSION"'