Commit ee3f9d3191d845dde6d9b2783015b7a022969b1e
1 parent
e6093aa4
ci: add github after release
Showing
5 changed files
with
62 additions
and
20 deletions
.github/release-drafter.yml
0 → 100644
1 | +name-template: 'release-v$NEXT_PATCH_VERSION' | ||
2 | +tag-template: 'release-v$NEXT_PATCH_VERSION' | ||
3 | +categories: | ||
4 | + - title: 'Features' | ||
5 | + labels: | ||
6 | + - 'feat' | ||
7 | + - title: 'Bug Fixes' | ||
8 | + labels: | ||
9 | + - 'fix' | ||
10 | + - 'bugfix' | ||
11 | + - 'bug' | ||
12 | + - title: 'Performance' | ||
13 | + labels: | ||
14 | + - 'chore' | ||
15 | + - 'perf' | ||
16 | + - 'style' | ||
17 | + - 'refactor' | ||
18 | + - 'revert' | ||
19 | + - 'wip' | ||
20 | + - title: 'Ci' | ||
21 | + labels: | ||
22 | + - 'ci' | ||
23 | + - 'build' | ||
24 | + - 'init' | ||
25 | + - title: 'Docs' | ||
26 | + labels: | ||
27 | + - 'docs' | ||
28 | + - 'build' | ||
29 | + - 'init' | ||
30 | + - 'workflow' | ||
31 | +change-template: '- $TITLE (#$NUMBER) @$AUTHOR' | ||
32 | +template: | | ||
33 | + # Changes | ||
34 | + $CHANGES |
CHANGELOG.md
1 | -# 2.0.0 (2020-09-28) | 1 | +# [2.0.0-beta.1](https://github.com/anncwb/vue-vben-admin/compare/351f60a...2.0.0-beta.1) (2020-09-30) |
2 | 2 | ||
3 | -### Features | 3 | +### 🎫 Chores |
4 | 4 | ||
5 | -- add 37afeff | ||
6 | -- add menu ab58829 | ||
7 | -- add menu aeb75e7 | ||
8 | -- add split menu 6b2b7bd | ||
9 | -- add split menu 2e7cb0b | ||
10 | -- add split menu 58fa70e | ||
11 | -- add split menu aa87a2c | ||
12 | -- auth d36878e | ||
13 | -- header be36cc2 | ||
14 | -- prettier 3f1db50 | 5 | +- add Readme.md ([351f60a](https://github.com/anncwb/vue-vben-admin/commit/351f60a)) |
15 | 6 | ||
16 | -### Performance Improvements | 7 | +### 🐛 Bug Fixes |
17 | 8 | ||
18 | -- form 2f94a5d | ||
19 | -- loading 788fd64 | ||
20 | -- lockpage 92d6b7e | ||
21 | -- menu ae6ace8 | 9 | +- fix form,transition,build bug ([2f268ca](https://github.com/anncwb/vue-vben-admin/commit/2f268ca)) |
build/script/changelog.ts
@@ -5,8 +5,7 @@ import chalk from 'chalk'; | @@ -5,8 +5,7 @@ import chalk from 'chalk'; | ||
5 | 5 | ||
6 | const createChangeLog = async () => { | 6 | const createChangeLog = async () => { |
7 | try { | 7 | try { |
8 | - let cmd = `conventional-changelog -p angular -i CHANGELOG.md -s -r 0 `; | ||
9 | - // let cmd = `conventional-changelog -p angular -i CHANGELOG.md -s -r 0 `; | 8 | + let cmd = `conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0 `; |
10 | // if (shell.which('git')) { | 9 | // if (shell.which('git')) { |
11 | // cmd += '&& git add CHANGELOG.md'; | 10 | // cmd += '&& git add CHANGELOG.md'; |
12 | // } | 11 | // } |
package.json
1 | { | 1 | { |
2 | "name": "vben-admin-2.0", | 2 | "name": "vben-admin-2.0", |
3 | - "version": "2.0.0-beta.1", | 3 | + "version": "2.0.0-beta.2", |
4 | "scripts": { | 4 | "scripts": { |
5 | "bootstrap": "yarn install", | 5 | "bootstrap": "yarn install", |
6 | "serve": "ts-node --project ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite", | 6 | "serve": "ts-node --project ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite", |
@@ -58,6 +58,7 @@ | @@ -58,6 +58,7 @@ | ||
58 | "babel-plugin-import": "^1.13.0", | 58 | "babel-plugin-import": "^1.13.0", |
59 | "commitizen": "^4.2.1", | 59 | "commitizen": "^4.2.1", |
60 | "conventional-changelog-cli": "^2.1.0", | 60 | "conventional-changelog-cli": "^2.1.0", |
61 | + "conventional-changelog-custom-config": "^0.3.1", | ||
61 | "cross-env": "^7.0.2", | 62 | "cross-env": "^7.0.2", |
62 | "dotenv": "^8.2.0", | 63 | "dotenv": "^8.2.0", |
63 | "eslint": "^7.10.0", | 64 | "eslint": "^7.10.0", |
@@ -92,6 +93,21 @@ | @@ -92,6 +93,21 @@ | ||
92 | "vite-plugin-purge-icons": "^0.4.1", | 93 | "vite-plugin-purge-icons": "^0.4.1", |
93 | "vue-eslint-parser": "^7.1.0" | 94 | "vue-eslint-parser": "^7.1.0" |
94 | }, | 95 | }, |
96 | + "repository": { | ||
97 | + "type": "git", | ||
98 | + "url": "git+https://github.com/anncwb/vue-vben-admin.git" | ||
99 | + }, | ||
100 | + "license": "MIT", | ||
101 | + "bugs": { | ||
102 | + "url": "https://github.com/anncwb/vue-vben-admin/issues" | ||
103 | + }, | ||
104 | + "homepage": "https://github.com/anncwb/vue-vben-admin", | ||
105 | + "changelog": { | ||
106 | + "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues", | ||
107 | + "emojis": true, | ||
108 | + "authorName": false, | ||
109 | + "authorEmail": false | ||
110 | + }, | ||
95 | "husky": { | 111 | "husky": { |
96 | "hooks": { | 112 | "hooks": { |
97 | "pre-commit": "ls-lint && lint-staged", | 113 | "pre-commit": "ls-lint && lint-staged", |
yarn.lock
@@ -1889,6 +1889,11 @@ conventional-changelog-core@^4.2.0: | @@ -1889,6 +1889,11 @@ conventional-changelog-core@^4.2.0: | ||
1889 | shelljs "^0.8.3" | 1889 | shelljs "^0.8.3" |
1890 | through2 "^3.0.0" | 1890 | through2 "^3.0.0" |
1891 | 1891 | ||
1892 | +conventional-changelog-custom-config@^0.3.1: | ||
1893 | + version "0.3.1" | ||
1894 | + resolved "https://registry.npm.taobao.org/conventional-changelog-custom-config/download/conventional-changelog-custom-config-0.3.1.tgz#4a6433138d602a2b7ecc81729feb6fa1855bff7b" | ||
1895 | + integrity sha1-SmQzE41gKit+zIFyn+tvoYVb/3s= | ||
1896 | + | ||
1892 | conventional-changelog-ember@^2.0.8: | 1897 | conventional-changelog-ember@^2.0.8: |
1893 | version "2.0.8" | 1898 | version "2.0.8" |
1894 | resolved "https://registry.npm.taobao.org/conventional-changelog-ember/download/conventional-changelog-ember-2.0.8.tgz#f0f04eb7ff3c885af97db100865ab95dcfa9917f" | 1899 | resolved "https://registry.npm.taobao.org/conventional-changelog-ember/download/conventional-changelog-ember-2.0.8.tgz#f0f04eb7ff3c885af97db100865ab95dcfa9917f" |