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
fi
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 14
- name: Install dependencies
run: npm install conventional-changelog-cli
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 14
#
# - name: Install dependencies
# run: npm install conventional-changelog-cli
- name: Generate Changelog
run: |
@ -69,7 +69,6 @@ jobs:
last_tag=$(git describe --tags --match "v*" --abbrev=0 --exclude='${{ steps.set_tag.outputs.tag }}' --exclude='*-*')
fi
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
- name: Upload changelog to Github