Skip to content

Commit 1efe634

Browse files
mnriemCopilot
andcommitted
fix: address third review round
- Use job-level permissions: actions:write on build (for upload-artifact), actions:read on publish (for download-artifact) - Include both @latest and pinned version in release notes - Add note that PyPI may lag behind the GitHub release Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6d15830 commit 1efe634

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ on:
1010

1111
permissions:
1212
contents: read
13-
actions: read
1413

1514
jobs:
1615
build:
1716
runs-on: ubuntu-latest
17+
permissions:
18+
actions: write
1819
steps:
1920
- name: Checkout release tag
2021
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,24 @@ jobs:
6666
## Install
6767
6868
\`\`\`bash
69-
uv tool install specify-cli==${VERSION_NO_V}
69+
uv tool install specify-cli@latest
7070
specify init my-project
7171
\`\`\`
7272
73+
Or pin to this exact release:
74+
75+
\`\`\`bash
76+
uv tool install specify-cli==${VERSION_NO_V}
77+
\`\`\`
78+
7379
Or install from source:
7480
7581
\`\`\`bash
7682
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@${VERSION}
7783
\`\`\`
7884
85+
> **Note:** PyPI publishing runs shortly after this release is created. If the PyPI version is not yet available, use the source install command above.
86+
7987
NOTES_EOF
8088
8189
echo "## What's Changed" >> release_notes.md

0 commit comments

Comments
 (0)