Skip to content

Commit 66d13fe

Browse files
committed
fix: add Create GitHub Release token
1 parent 9e31c7a commit 66d13fe

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,18 @@ jobs:
5151

5252
- name: Push Git Tag
5353
if: success()
54-
run: git push origin ${{ steps.extract_version.outputs.version }}
54+
env:
55+
GH_TOKEN: ${{ secrets.RESP_GITHUB_TOKEN }}
56+
run: |
57+
git config --local user.email "github-actions@github.com"
58+
git config --local user.name "GitHub Actions"
59+
git tag ${{ steps.extract_version.outputs.version }}
60+
git push origin ${{ steps.extract_version.outputs.version }}
5561
5662
- name: Create GitHub Release
5763
if: success()
5864
uses: softprops/action-gh-release@v1
5965
with:
6066
tag_name: ${{ steps.extract_version.outputs.version }}
6167
files: dist/*
62-
token: ${{ secrets.GITHUB_TOKEN }}
68+
token: ${{ secrets.RESP_GITHUB_TOKEN }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="parse_llm_code",
8-
version="0.1.24",
8+
version="0.1.25",
99
author="aboutmydreams",
1010
author_email="aboutmydreams@163.com",
1111
description="a lib to parse llm answer to code",

0 commit comments

Comments
 (0)