mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-09-19 23:46:18 +08:00
ci: fix
This commit is contained in:
parent
e7a6f45814
commit
cecfda1171
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user