Skip to content

Commit

Permalink
feat: release quark static
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Aug 5, 2024
1 parent 5fb3c21 commit c206d94
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ jobs:
# 下面主要是创建 github 的release
# 需要手动修改 package.json 版本
# 使用 tyankatsu0105/read-package-version-actions@v1 工具来读取对应的package.json 数据
# - name: Read package.json
# uses: tyankatsu0105/read-package-version-actions@v1
# id: package-version
- name: Read package.json
uses: tyankatsu0105/read-package-version-actions@v1
id: package-version

# 关于创建 release 的更多参数,可以查看 actions/create-release@v1
# - name: Create Release for Tag
# id: release_tag
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GIT_ACTION }} # 这块需要用到 github的token,因为需要对分之进行代码推送
# with:
# tag_name: v${{ steps.package-version.outputs.version }}
# release_name: Release v${{ steps.package-version.outputs.version }}
# prerelease: false # 是否为预发布版本
# body: |
# 请点击查看 [更新日志](https://github.com/hellof2e/quark-doc-header/blob/main/CHANGELOG.md).
- name: Create Release for Tag
id: release_tag
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GIT_ACTION }} # 这块需要用到 github的token,因为需要对分之进行代码推送
with:
tag_name: v${{ steps.package-version.outputs.version }}
release_name: Release v${{ steps.package-version.outputs.version }}
prerelease: false # 是否为预发布版本
body: |
请点击查看 [更新日志](https://github.com/hellof2e/quark-doc-header/blob/main/CHANGELOG.md).
# - uses: BobAnkh/[email protected]
Expand Down

0 comments on commit c206d94

Please sign in to comment.