Skip to content

Commit

Permalink
ci: use keep-a-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchardxyz committed Apr 20, 2024
1 parent b84dc7c commit 2fcffa7
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 421 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: pnpm run build
- name: Read Changelog
id: changelog
uses: artlaman/conventional-changelog-reader-action@v1.1.0
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ env.PACKAGE_VERSION }}
path: ./CHANGELOG.md
Expand Down
7 changes: 2 additions & 5 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md",
"header": "# Changelog",
"ignoreRecommendedBump": true
"@release-it/keep-a-changelog": {
"filename": "CHANGELOG.md"
}
}
}
10 changes: 4 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Changelog
# Change Log

# 1.0.0 (2024-04-20)
## [Unreleased]

### Added

### Features

* generate css theme files ([08715a8](https://github.com/Orchardxyz/antd4-theme-vars/commit/08715a8328b964635302e57052c1eacf75a46517))
* watch config file change ([f015fc4](https://github.com/Orchardxyz/antd4-theme-vars/commit/f015fc4f6f373fe5d3f3e1dc121f28745c98f660))
* (First release)Generate theme css files for antd@4.x.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antd4-theme-vars",
"version": "1.0.0",
"version": "0.0.1",
"description": "Generate different theme files for antd@4.x",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
"access": "public"
},
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@release-it/keep-a-changelog": "^5.0.0",
"@types/cross-spawn": "^6.0.6",
"@types/fs-extra": "^11.0.4",
"@types/tinycolor2": "^1.4.6",
Expand Down
Loading

0 comments on commit 2fcffa7

Please sign in to comment.