Skip to content

Commit

Permalink
fixe: remove conventional-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxsf committed Apr 3, 2024
1 parent f16eb36 commit 3890995
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 22 deletions.
49 changes: 28 additions & 21 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Release
on:
push:
branches: [main]
paths:
- "packages/core/package.json"
# paths:
# - "packages/core/package.json"

jobs:
release:
Expand Down Expand Up @@ -71,24 +71,31 @@ jobs:
git tag v${{ steps.package-version.outputs.version }}
git push origin v${{ steps.package-version.outputs.version }}
# 下面主要是创建 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,因为需要对分之进行代码推送
- uses: "marvinpinto/action-automatic-releases@latest"
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_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).

- 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'
# - 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'
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "quarkc",
"version": "1.0.48",
"description": "Web components quark-element quarkc",
"description": "A Web Components framework",
"type": "module",
"main": "./lib/index.umd.js",
"module": "./lib/index.js",
Expand Down

0 comments on commit 3890995

Please sign in to comment.