Skip to content

Commit

Permalink
Update version to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and xishang0128 committed Jan 14, 2025
1 parent 92a8572 commit 0092418
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ jobs:
API_KEY: ${{ secrets.API_KEY }}
run: |
TEXT=$(git log v$(jq -r .version package.json)..HEAD --pretty=format:%s | grep -v '^[0-9]\+\.[0-9]\+\.[0-9]\+$' | sed ':a;N;$!ba;s/\n/\\n/g')
echo $TEXT
QUESTION="Translate into Chinese:\n"""\n$TEXT\n""""
PAYLOAD=$(cat <<EOF
{
Expand All @@ -165,7 +164,6 @@ jobs:
-d "$PAYLOAD" \
--max-time 30)
echo '# 更新日志' > changelog.md
echo $RESPONSE | jq .choices[0].message.content -r | sed 's/\\n/\n/g'
echo $RESPONSE | jq .choices[0].message.content -r | sed 's/\\n/\n/g' >> changelog.md
- name: Update Version
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "1.5.13",
"version": "1.6.0",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party-org",
Expand Down

0 comments on commit 0092418

Please sign in to comment.