Skip to content

Commit

Permalink
Chore: 修复 CI 命令错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jan 2, 2025
1 parent 9135b75 commit 4d57986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,15 @@ jobs:
pnpm install --frozen-lockfile
pnpm log --starting-version ${{ github.ref_name }}
sed -i '1,4d' CHANGELOG.md
cat CHANGELOG.md
- name: GitHub Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
# Creates a draft release. Defaults to false
# draft: true
draft: true
body_path: CHANGELOG.md
# Newline-delimited list of path globs for asset files to upload
# files: |
# dist/*.js
# dist/*.js.map
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"auto-changelog": "^2.4.0"
},
"scripts": {
"log": "fixit-releaser changelog"
"log": "npx fixit-releaser changelog"
}
}

0 comments on commit 4d57986

Please sign in to comment.