Skip to content

Commit c80cf60

Browse files
authored
chore(release): auto-bump CITATION.cff and refresh SECURITY.md (#110)
1 parent 678df32 commit c80cf60

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ jobs:
8888
- name: Refresh lockfile
8989
run: uv lock
9090

91+
- name: Update CITATION.cff metadata
92+
env:
93+
VERSION: ${{ steps.version.outputs.version }}
94+
run: |
95+
DATE=$(date -u +%Y-%m-%d)
96+
yq -i ".version = \"${VERSION}\" | .\"date-released\" = \"${DATE}\"" CITATION.cff
97+
9198
- name: Ensure changelog exists
9299
run: touch ${CHANGELOG_FILE}
93100

@@ -114,7 +121,7 @@ jobs:
114121
env:
115122
VERSION: ${{ steps.version.outputs.version }}
116123
run: |
117-
git add pyproject.toml uv.lock ${CHANGELOG_FILE}
124+
git add pyproject.toml uv.lock CITATION.cff ${CHANGELOG_FILE}
118125
git commit -m "chore: release v${VERSION}"
119126
120127
- name: Create and push tag

SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ We release patches for security vulnerabilities in the following versions:
66

77
| Version | Supported |
88
|---------|--------------------|
9-
| 0.1.x | :white_check_mark: |
10-
| < 0.1 | :x: |
9+
| 0.4.x | :white_check_mark: |
10+
| < 0.4 | :x: |
1111

12-
**Note:** As this project is in early development (0.1.x), we recommend always using the latest release.
12+
**Note:** This project is still pre-1.0. Security patches are only backported to the latest minor series; always use the most recent release.
1313

1414
## Reporting a Vulnerability
1515

0 commit comments

Comments
 (0)