Skip to content

Commit bc57f71

Browse files
authored
Add dependency cooldown for release script (#110)
1 parent 72d1999 commit bc57f71

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

scripts/release.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# /// script
33
# requires-python = ">=3.12"
44
# dependencies = []
5+
#
6+
# [tool.uv]
7+
# exclude-newer = "P7D"
8+
# no-build = true
59
# ///
610
"""Update the crate version and lockfile for a release."""
711

scripts/release.py.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version = 1
2+
revision = 3
3+
requires-python = ">=3.12"
4+
5+
[options]
6+
exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
7+
exclude-newer-span = "P7D"

0 commit comments

Comments
 (0)