Skip to content

Commit

Permalink
feat: update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Apr 3, 2024
1 parent e3e902b commit ab10f53
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 27 deletions.
45 changes: 19 additions & 26 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,31 +71,24 @@ jobs:
git tag v${{ steps.package-version.outputs.version }}
git push origin v${{ steps.package-version.outputs.version }}
- uses: "marvinpinto/action-automatic-releases@latest"
- uses: BobAnkh/[email protected]
with:
repo_token: "${{ secrets.GIT_ACTION }}"
prerelease: false
files: |
LICENSE.txt
*.jar
# # 下面主要是创建 github 的release
# # 关于创建 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-core/blob/main/packages/core/CHANGELOG.md).
REPO_NAME: 'hellof2e/quark-core'
ACCESS_TOKEN: ${{secrets.GIT_ACTION}}
PATH: '/packages/core/CHANGELOG.md'
COMMIT_MESSAGE: 'docs(CHANGELOG): update release notes'
TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'

# - uses: BobAnkh/[email protected]
# with:
# REPO_NAME: 'hellof2e/quark-core'
# ACCESS_TOKEN: ${{secrets.GIT_ACTION}}
# PATH: '/packages/core/CHANGELOG.md'
# COMMIT_MESSAGE: 'docs(CHANGELOG): update release notes'
# TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'
# 下面主要是创建 github 的release
# 关于创建 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-core/blob/main/packages/core/CHANGELOG.md).
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quarkc",
"version": "1.0.49",
"version": "1.0.50",
"description": "A Web Components framework",
"type": "module",
"main": "./lib/index.umd.js",
Expand Down

0 comments on commit ab10f53

Please sign in to comment.