Skip to content

Commit 4128b1c

Browse files
author
Peng Ren
committed
Fix release issue
1 parent 1924a9a commit 4128b1c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ jobs:
200200
name: Create GitHub Release
201201
runs-on: ubuntu-latest
202202
needs: [build, pypi-publish]
203+
permissions:
204+
contents: write
203205

204206
steps:
205207
- uses: actions/checkout@v4
@@ -217,7 +219,9 @@ jobs:
217219
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
218220

219221
- name: Create GitHub Release
220-
uses: softprops/action-gh-release@v1
222+
uses: softprops/action-gh-release@v2
223+
env:
224+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
221225
with:
222226
files: dist/*
223227
generate_release_notes: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "pymongosql"
77
dynamic = ["version"]
8-
description = "Python DB API 2.0 client for MongoDB with SQL interface"
8+
description = "Python DB API 2.0 (PEP 249) client for MongoDB"
99
readme = "README.md"
1010
license = {file = "LICENSE"}
1111
authors = [

0 commit comments

Comments
 (0)