Skip to content

Commit 919035c

Browse files
committed
Release v2.5.0
1 parent fa82db1 commit 919035c

21 files changed

Lines changed: 59 additions & 47 deletions

.claude/commands/release.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
allowed-tools: Bash(git:*), Bash(uv:*), Bash(./scripts/release.sh:*), Bash(find:*), Bash(cat:*), Bash(grep:*)
2+
allowed-tools: Bash(git:*), Bash(uv:*), Bash(./scripts/release.sh:*)
33
argument-hint: [version] [--dry-run] [--no-push]
44
description: Prepare a NexusLIMS release with changelog review and upgrade instructions
55
---
@@ -8,20 +8,14 @@ description: Prepare a NexusLIMS release with changelog review and upgrade instr
88

99
## Current State
1010

11-
**Current version:**
12-
!`grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/'`
11+
Use your tools to gather the following information before proceeding:
1312

14-
**Current branch:**
15-
!`git branch --show-current`
13+
1. **Current version:** Read `pyproject.toml` and extract the `version = "..."` line.
14+
2. **Current branch:** Run `git branch --show-current`.
15+
3. **Pending changelog fragments:** Use Glob to find all `docs/changes/*.md` files (exclude `README.md`), then Read each one and display its filename and contents.
16+
4. **Changelog draft:** Run `uv run towncrier build --version=PREVIEW --draft` to preview the assembled changelog.
1617

17-
**Pending changelog fragments:**
18-
!`find docs/changes -name '*.md' ! -name 'README.md' -exec echo " {}" \; | sort`
19-
20-
**Fragment contents:**
21-
!`for f in $(find docs/changes -name '*.md' ! -name 'README.md' | sort); do echo "### $f"; cat "$f"; echo; done`
22-
23-
**Changelog draft (towncrier preview):**
24-
!`uv run towncrier build --version=PREVIEW --draft 2>/dev/null || echo "(no fragments found)"`
18+
Gather all four pieces of information before moving on to Step 1.
2519

2620
---
2721

@@ -31,7 +25,7 @@ The user wants to cut a release. Work through the following steps in order.
3125

3226
### Step 1: Identify Breaking Changes
3327

34-
Scan the fragment contents above. Look for:
28+
Scan the fragment contents you gathered. Look for:
3529
- Fragments with `.removal.md` in the filename
3630
- Any text mentioning "Breaking change", removed commands, renamed config keys, changed CLI behavior, or API removals
3731

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
path: dist/
7272

7373
- name: Run smoke test
74-
run: ./scripts/smoke_test_package.sh dist/nexusLIMS-*.whl
74+
run: ./scripts/smoke_test_package.sh dist/nexuslims-*.whl
7575

7676
- name: Debug package contents on failure
7777
if: failure()
@@ -80,7 +80,7 @@ jobs:
8080
python -c "import nexusLIMS; from pathlib import Path; print(Path(nexusLIMS.__file__).parent)" || true
8181
8282
echo "=== Wheel contents ==="
83-
unzip -l dist/nexusLIMS-*.whl | grep -E "\.(xsd|owl|ttl|py)$" || true
83+
unzip -l dist/nexuslims-*.whl | grep -E "\.(xsd|owl|ttl|py)$" || true
8484
8585
publish-to-pypi:
8686
name: Publish to PyPI

docs/changes/31.misc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/48.doc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/48.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/49.removal.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/50.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/51.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/55.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/57.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)