This commit is contained in:
octopus_yan 2024-09-18 04:03:36 +08:00
parent e7a6f45814
commit cecfda1171

View File

@ -52,13 +52,13 @@ jobs:
echo prerelease=true | tee -a $GITHUB_OUTPUT echo prerelease=true | tee -a $GITHUB_OUTPUT
fi fi
- name: Set up Node.js # - name: Set up Node.js
uses: actions/setup-node@v4 # uses: actions/setup-node@v4
with: # with:
node-version: 14 # node-version: 14
#
- name: Install dependencies # - name: Install dependencies
run: npm install conventional-changelog-cli # run: npm install conventional-changelog-cli
- name: Generate Changelog - name: Generate Changelog
run: | run: |
@ -69,7 +69,6 @@ jobs:
last_tag=$(git describe --tags --match "v*" --abbrev=0 --exclude='${{ steps.set_tag.outputs.tag }}' --exclude='*-*') last_tag=$(git describe --tags --match "v*" --abbrev=0 --exclude='${{ steps.set_tag.outputs.tag }}' --exclude='*-*')
fi fi
echo >> CHANGELOG.md echo >> CHANGELOG.md
npx conventional-changelog -p angular -i CHANGELOG.md -s -r 0
echo "**Full Changelog**: [$last_tag -> $this_tag](https://github.com/octopusYan/alist-gui/compare/${last_tag}...${this_tag})" >> CHANGELOG.md echo "**Full Changelog**: [$last_tag -> $this_tag](https://github.com/octopusYan/alist-gui/compare/${last_tag}...${this_tag})" >> CHANGELOG.md
- name: Upload changelog to Github - name: Upload changelog to Github