Browse Source

Migrate to disperse.toml

Jelmer Vernooij 4 months ago
parent
commit
17a1f6f399
2 changed files with 17 additions and 19 deletions
  1. 0 19
      disperse.conf
  2. 17 0
      disperse.toml

+ 0 - 19
disperse.conf

@@ -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

+ 17 - 0
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"'