chore: changelog

This commit is contained in:
xream 2023-08-28 23:06:29 +08:00
parent ad6d1ab441
commit 5ae6687b1f
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 9 additions and 2 deletions

View File

@ -45,11 +45,17 @@ jobs:
cd backend
SUBSTORE_RELEASE=`node --eval="process.stdout.write(require('./package.json').version)"`
echo "::set-output name=release_tag::$SUBSTORE_RELEASE"
- name: Prepare release
run: |
cd backend
pnpm i -D conventional-changelog-cli
pnpm run changelog
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: ./backend/CHANGELOG.md
tag_name: ${{ steps.tag.outputs.release_tag }}
files: |
./backend/sub-store.min.js

View File

@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.14.40",
"version": "2.14.41",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {
@ -9,7 +9,8 @@
"serve": "node sub-store.min.js",
"start": "nodemon -w src -w package.json --exec babel-node src/main.js",
"build": "gulp",
"bundle": "node bundle.js"
"bundle": "node bundle.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"author": "Peng-YM",
"license": "GPL-3.0",